Wijmo UI for the Web
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
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var commandName; // Type:  string
    var disabled; // Type:  bool
    
    returnsValue = $(".selector").wijribbon("setButtonDisabled", commandName, disabled);
});
Javascript (Specification) 
function setButtonDisabled( 
   commandName : string,
   disabled : bool
) : any;

Parameters

commandName
The name of the command.
disabled
The disabled state of the button, true or false.
Browser Compatibility
7
5
5

See Also

Reference

wijribbon type
wijribbon jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.