$('#datagrid').datagrid({
....
toolbar : [{
text : 'Name',
toggle : true,
group : 'myGroup',
handler : function() {
// ...
}
}, {
text : 'Class',
toggle : true,
group : 'myGroup',
handler : function() {
// ...
}
}]
});
i have a toolbar with 2 toggle buttons of the datagrid, but not works, anything wrong with my code?