var datagrid;
var SBGridProperties = {};
function createGrid(){
SBGridProperties.parentid = 'SBGridArea';
SBGridProperties.id = 'datagrid';
SBGridProperties.jsonref = 'ct_data.gridData2';
SBGridProperties.rowheader = ['seq', 'update'];
SBGridProperties.selectmode = 'free';
SBGridProperties.datareplace = 'man?남성|woman?여성';
SBGridProperties.columns = [
{caption : ['나이'], ref : 'age', width : '100px', style : 'text-align:center', type : 'input' , typeinfo : {maxlength : 3, autonext : true}},
{caption : ['생년월일'], ref : 'birth', width : '100px', style : 'text-align:center', type : 'output'},
{caption : ['성별'], ref : 'gender', width : '100px', style : 'text-align:center', type : 'input', fixedstyle : 'background-color:yellow'},
{caption : ['입사년차'], ref : 'period', width : '80px', style : 'text-align:center', type : 'output'},
{caption : ['국적'], ref : 'nation', width : '100px', style : 'text-align:center', type : 'combo', typeinfo : {ref:'comboData', label:'label', value:'value' , itemcount : 4, displayui:true} },
{caption : ['도시'], ref : 'nation2', width : '100px', style : 'text-align:center', type : 'combo', typeinfo : {ref:'combofilteringData', label:'label', value:'value' , displayui : true, itemcount : 4, filtering: {usemode : true, uppercol : 5, attrname : 'code'}}},
{caption : ['결혼여부'], ref : 'married', width : '80px', style : 'text-align:center', type : 'checkbox', typeinfo : {checkedvalue : 'true'} },
{caption : ['입사일'], ref : 'hiredate', width : '120px', style : 'text-align:center', type : 'inputdate', typeinfo : {locale : 'ko'} },
{caption : ['팀장여부'], ref : 'leader', width : '80px', style : 'text-align:center', type : 'radio' }
];
datagrid = _SBGrid.create(SBGridProperties);
};