Wijmo UI for the Web
setButtonsDisabled Method
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) 
var instance = new jQuery.wijmo.wijribbon();
var value; // Type: any

// Parameters
var commands; // Type:  object

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

See Also

Reference

wijribbon type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.