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

 

 


© 2013 All Rights Reserved.

Send comments on this topic.