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) | |
---|
$(function () {
var returnsValue; // Type: any
// Parameters
var commands; // Type: object
returnsValue = $(".selector").wijribbon("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
wijribbon jQuery Widget