An object that contains commands infos that need to change state,
key is command name, value is button disabled state, true or false.
The method sets the ribbon buttons as enabled or disabled according to the command name.
Syntax
Javascript (Usage) | |
---|
var instance = new jQuery.wijmo.wijribbon();
var value; // Type: any
// Parameters
var commands; // Type: object
value = instance.setButtonsDisabled(commands);
|
Javascript (Specification) | |
---|
function setButtonsDisabled(
commands : object
) : any;
|
Parameters
- commands
- An object that contains commands infos that need to change state,
key is command name, value is button disabled state, true or false.
Browser Compatibility
See Also
Reference
wijribbon type