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