EasyUI Forum

General Category => Bug Report => Topic started by: wade.zhu on December 24, 2014, 10:01:47 PM



Title: datagrid toolbar toggle linkbutton not works[SOLVED]
Post by: wade.zhu on December 24, 2014, 10:01:47 PM
Code:
$('#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?


Title: Re: datagrid toolbar toggle linkbutton not works
Post by: stworthy on December 25, 2014, 12:24:58 AM
Please refer to this example http://jsfiddle.net/4wxrsd3g/. It works fine.