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) 
var instance = new jQuery.wijmo.wijribbon();
var value; // Type: any

// Parameters
var commandName; // Type:  string
var disabled; // Type:  bool

value = instance.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

 

 


© 2013 All Rights Reserved.

Send comments on this topic.