EasyUI Forum
December 19, 2025, 08:35:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Bug Report / Can't disable dialog buttons 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.
2  General Category / EasyUI for jQuery / Re: Disable Dialog buttons on: July 16, 2015, 08:15:04 AM
From my code snippet you could see that I am calling the 'disable' method.

I have other link buttons that I can enable\disable with no problems.  The problem appears to only occur if I try to access either a dialog toolbar or regular button.
3  General Category / EasyUI for jQuery / Disable Dialog buttons on: July 15, 2015, 03:17:26 PM
I just tried out version 1.42 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.  Is there another way or is this no longer possible?
4  General Category / EasyUI for jQuery / Drag and Drop on: June 15, 2014, 07:59:26 AM
How do I allow dragging rows from a datagrid to a tree?  I've successfully enabled within a tree and within a datagrid, but I'd like to do this between a grid and tree.  Thanks.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!