var datagrid;
var SBGridProperties = {};
function createGrid(){
SBGridProperties.parentid = 'SBGridArea';
SBGridProperties.id = 'datagrid';
SBGridProperties.jsonref = 'data';
SBGridProperties.rowheight = 50;
SBGridProperties.multiradiodirection = 'column';
SBGridProperties.columns = [
{caption : ['기본정보','이름'], ref : 'name', width : '150px', style : 'text-align:center', type : 'output'},
{caption : ['기본정보','나이'], ref : 'age', width : '100px', style : 'text-align:center', type : 'input' , typeinfo : {maxlength:3 } },
{caption : ['기본정보','입사년차'], ref : 'period', width : '80px', style : 'text-align:center', type : 'chart' , typeinfo : {charttype : 'bar', color : '#e3b781' } },
{caption : ['기본정보','결혼여부'], ref : 'married', width : '150px', style : 'text-align:center', fixedstyle : 'background-color:yellow', type : 'multiradio', typeinfo : {radiolabel : ['YES', 'NO'], radiovalue : ['T', 'F']} },
{caption : ['기본정보','도시'], ref : 'nation2', width : '100px', style : 'text-align:center', type : 'inputcombo' , typeinfo : {ref:'combofilteringData', label:'label', value:'value' , itemcount : 4} },
{caption : ['기본정보','생년월일'], ref : 'birth', width : '90px', style : 'text-align:center', type : 'datepicker',typeinfo : {locale : 'en' , dateformat :'yymmdd'}, format : {type:'date', rule:'yyyy-mm-dd', origin : 'yyyymmdd' } },
{caption : ['부수정보','주소'], ref : 'addr', width : '250px', style : 'text-align:center', type : 'textarea' }
];
datagrid = _SBGrid.create(SBGridProperties);
};