Sample: dhtmlxWindows | Buttons Manipulations | dhtmlxWindows main page |
The purpose of this sample is to show that you can affect any button's property with a 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(); ... // showing button dhxWins.window(id).button(id).show(); // hiding button dhxWins.window(id).button(id).hide(); // is hidden var isHidden = dhxWins.window(id).button(id).isHidden(); // enabling button dhxWins.window(id).button(id).enable(); // disabling button dhxWins.window(id).button(id).disable(); // is enabled var isEnabled = dhxWins.window(id).button(id).isEnabled();
© DHTMLX LTD. All rights reserved |