_SBGrid.CF.LOCALE = { 'locale':'A9', 'localeinfo':{ "A9":{ 'datepicker':'en-AU', 'caption':[['DATA'],['DATE-DATA'],['DATE1-DATA'],['NUMBER-DATA'],['NUMBER2-DATA'],['CALENDAR-DATA']], 'format':{ 'date':{ 'rule':'dd-mm-yyyy' }, 'number':{ 'rule':'#,###' } } } } }; var datagrid; var SBGridProperties = {}; function createGrid(){ SBGridProperties.parentid = 'SBGridArea'; SBGridProperties.id = 'datagrid'; SBGridProperties.jsonref = 'localeData'; SBGridProperties.rowheader = ['seq','update']; SBGridProperties.selectmode = 'free'; SBGridProperties.extendlastcol = 'scroll'; SBGridProperties.locale= true; SBGridProperties.columns = [ {caption : ['데이타'], ref : 'name', width : '180px', style : 'text-align:left', type : 'output'}, {caption : ['날짜데이타'], ref : 'date1', width : '120px', style : 'text-align:center', type : 'datepicker', format : {type:'date', rule:'yyyy-mm-dd', origin : 'yyyymmdd'}}, {caption : ['날짜2데이타'], ref : 'date2', width : '120px', style : 'text-align:center', type : 'inputdate', format : {type:'date', rule:'yyyy-mm-dd', origin : 'yyyymmdd'}}, {caption : ['숫자데이타'], ref : 'number1', width : '100px', style : 'text-align:right', datatype: "number", type : 'input', format : {rule:"#,###"}}, {caption : ['숫자2데이타'], ref : 'number2', width : '100px', style : 'text-align:right', datatype: "number", type : 'input', format : {rule:"#,###"}}, {caption : ['달력데이타'], ref : 'calender', width : '100px', style : 'text-align:center', type : 'datepicker', typeinfo : {locale : 'ko' , dateformat :'yymmdd'}, format : {type:'date', rule:'yyyy-mm-dd', origin : 'yyyymmdd' }} ]; datagrid = _SBGrid.create(SBGridProperties); };