var datagrid; var SBGridProperties = {}; var TempCombo = [{},{},{},{},{},{},{},{}]; function createGrid(){ SBGridProperties.parentid = 'SBGridArea'; SBGridProperties.id = 'datagrid'; SBGridProperties.jsonref = 'TempCombo'; SBGridProperties.rowheader = ['seq','update']; SBGridProperties.selectmode = 'free'; SBGridProperties.extendlastcol = 'scroll'; SBGridProperties.fixedrowheight = 50; SBGridProperties.columns = [ {caption : ['combo\n( 기본형 )'], type : 'combo' , typeinfo : {ref:'comboData', label:'label', value:'value'}, ref : 'temp1', width : '150px',style : 'text-align:center'}, {caption : ['combo\n( combofiltering )'], type : 'combo' , typeinfo : {ref:'combofilteringData', label:'label', value:'value', filtering : {usemode : true, uppercol : 2, attrname : 'code'}, ref : 'temp2', width : '150px', style : 'text-align:center'}, {caption : ['oneclickedit\n( true )'], type : 'combo' , typeinfo : {ref:'comboData', label:'label', value:'value', oneclickedit:true}, ref : 'combo3', width : '150px', style : 'text-align:center'}, {caption : ['itemcount\n( 2 )'], type : 'combo' , typeinfo : {ref:'comboData', label:'label', value:'value', itemcount:2}, ref : 'combo4', width : '150px', style : 'text-align:center'}, {caption : ['displayui\n( true )'], type : 'combo' , typeinfo : {ref:'comboData', label:'label', value:'value', displayui:true}, ref : 'combo5', width : '150px', style : 'text-align:center'}, {caption : ['position\n( left )'], type : 'combo' , typeinfo : {ref:'comboData', label:'label', value:'value', position:"left"}, ref : 'combo6', width : '150px', style : 'text-align:center'}, {caption : ['unselect\n( left )'], type : 'combo' , typeinfo : {ref:'comboData', label:'label', value:'value', unselect : {label : "=선택=", value : "없음"}}, ref : 'combo7', width : '150px', style : 'text-align:center'} ]; datagrid = _SBGrid.create(SBGridProperties); };