var datagrid;
var SBGridProperties = {};
var tempData = [{"radio1":"true","radio2":"Y","radio3":"1","radio4":"O"},
{"radio1":"false","radio2":"N","radio3":"2","radio4":"X"},
{"radio1":"true","radio2":"N","radio3":"1","radio4":"X"},
{"radio1":"false","radio2":"Y","radio3":"2","radio4":"O"},
{"radio1":"true","radio2":"Y","radio3":"1","radio4":"O"}];
function createGrid(){
SBGridProperties.parentid = 'SBGridArea';
SBGridProperties.id = 'datagrid';
SBGridProperties.jsonref = 'tempData';
SBGridProperties.rowheader = ['seq','update'];
SBGridProperties.selectmode = 'free';
SBGridProperties.extendlastcol = 'scroll';
SBGridProperties.fixedrowheight = 50;
SBGridProperties.columns = [
{caption : ['radio\n( default )'], type : 'radio', ref : 'radio1', width : '230px',style : 'text-align:center'},
{caption : ['radio\n( Y | N )'], type : 'radio' , typeinfo : { checkedvalue : "Y", uncheckedvalue : "N" }, ref : 'radio2', width : '230px', style : 'text-align:center'},
{caption : ['radio\n( 1 | 2 )'], type : 'radio' , typeinfo : { checkedvalue : "1", uncheckedvalue : "2" }, ref : 'radio3', width : '230px', style : 'text-align:center'},
{caption : ['radio\n( O | X )'], type : 'radio' , typeinfo : { checkedvalue : "O", uncheckedvalue : "X" }, ref : 'radio4', width : '230px', style : 'text-align:center'}
];
datagrid = _SBGrid.create(SBGridProperties);
datagrid.bind("click","getCellData");
};