| Sample: dhtmlxWindows | Buttons Manipulations | dhtmlxWindows main page |
|
The purpose of this sample is to show that you can affect any button property with script command.
Please remember that changing system buttons' state manually can cause their incorrect behaviour. |
|
| Select Button | |
| Select Action | |
<script></script>var dhxWins = new dhtmlXWindows(); ... // show button dhxWins.window(id).button(id).show(); // hide button dhxWins.window(id).button(id).hide(); // is hidden var isHidden = dhxWins.window(id).button(id).isHidden(); // enable button dhxWins.window(id).button(id).enable(); // disable button dhxWins.window(id).button(id).disable(); // is enabled var isEnabled = dhxWins.window(id).button(id).isEnabled();
| © DHTMLX LTD. All rights reserved |