var datagrid; var SBGridProperties = {}; function createGrid(){ SBGridProperties.parentid = 'SBGridArea'; SBGridProperties.id = 'datagrid'; SBGridProperties.jsonref = 'data'; SBGridProperties.rowheader = ['seq', 'update']; SBGridProperties.selectmode = 'free'; SBGridProperties.allowcopy = true; SBGridProperties.allowpaste = true; SBGridProperties.copylabel = true; SBGridProperties.columns = [ {caption : ['교습과정'], ref : 'curriculum', width : '100px', style : 'text-align:center', type : 'combo', typeinfo :{ ref : 'newComboData', displayui : true, label : 'label', value : 'value'}}, {caption : ['label'], ref : 'label', width : '150px', style : 'text-align:center', type : 'output'}, {caption : ['value'], ref : 'value', width : '150px', style : 'text-align:center', type : 'output'} ]; datagrid = _SBGrid.create(SBGridProperties); };
var datagrid; var SBGridProperties = {}; function createGrid(){ SBGridProperties.parentid = 'SBGridArea'; SBGridProperties.id = 'datagrid'; SBGridProperties.jsonref = 'data'; SBGridProperties.selectmode = 'free'; SBGridProperties.allowcopy = true; SBGridProperties.allowpaste = true; SBGridProperties.copylabel = true; SBGridProperties.columns = [ {caption : ['교습과정'], ref : 'curriculum', width : '100px', style : 'text-align:center', type : 'combo', typeinfo :{ ref : 'newComboData', displayui : true, label : 'label', value : 'value'}}, {caption : ['label'], ref : 'label', width : '150px', style : 'text-align:center', type : 'output'}, {caption : ['value'], ref : 'value', width : '150px', style : 'text-align:center', type : 'output'} ]; datagrid = _SBGrid.create(SBGridProperties); };