EasyUI Forum
November 03, 2025, 03:24:02 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can't disable dialog buttons  (Read 9250 times)
hunsin360
Newbie
*
Posts: 4


View Profile Email
« on: July 17, 2015, 07:46:31 AM »

I just tried out version 1.43 and something big changed with dialog toolbars and buttons.  For example, I used to be able to define a dialog button and give it an id:

...
buttons: [{
   text: 'My Button',
   id: 'mybutton'
}]

And then disable or enable it programmatically:

$('#mybutton').linkbutton('disable');

This no longer works and it's a big step backwards.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2300


View Profile Email
« Reply #1 on: July 17, 2015, 03:52:56 PM »

Please refer to http://www.jeasyui.com/forum/index.php?topic=5038.0
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!