EasyUI Forum
January 16, 2022, 03:43:26 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid toolbar toggle linkbutton not works[SOLVED]  (Read 5958 times)
wade.zhu
Newbie
*
Posts: 27


View Profile
« 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?
« Last Edit: December 25, 2014, 08:22:13 PM by wade.zhu » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 25, 2014, 12:24:58 AM »

Please refer to this example http://jsfiddle.net/4wxrsd3g/. It works fine.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!