<th data-options="field:'status',width:15" align='center' editor="{type:'checkbox',options:{on:'v',off:'n'}}">status</th>
function getRowIndex(target) {
var tr = $(target).closest('tr.datagrid-row');
return parseInt(tr.attr('datagrid-row-index'));
}
function saverow(target){
var status = $('#dg').datagrid('getEditor', {index: getRowIndex(target), field: 'status'});
var v_status = $(status.target).val();
alert(v_status)
}
And the result i got is alway 'v' even i did not check it.