Wijmo UI for the Web
setButtonDisabled Method
wijmo.ribbon Namespace > wijribbon type : setButtonDisabled Method
The name of the command.
The disabled state of the button, true or false.
The method sets the chosen button as enabled or disabled according to the command name.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var commandName; // Type:  string
    var disabled; // Type:  bool
    
    returnsValue = $(".selector").wijribbon("setButtonDisabled", commandName, disabled);
});
function setButtonDisabled( 
   commandName : string,
   disabled : bool
) : any;

Parameters

commandName
The name of the command.
disabled
The disabled state of the button, true or false.
See Also

Reference

wijribbon type
wijribbon jQuery Widget