Wijmo UI for the Web
setButtonChecked Method
The command name of the button.
The checked state of the button.
The parent name of the button.
Sets a ribbon button as checked or not checked.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var commandName; // Type:  string
    var checked; // Type:  bool
    var name; // Type:  string
    
    returnsValue = $(".selector").wijribbon("setButtonChecked", commandName, checked, name);
});
Javascript (Specification) 
function setButtonChecked( 
   commandName : string,
   checked : bool,
   name : string
) : any;

Parameters

commandName
The command name of the button.
checked
The checked state of the button.
name
The parent name of the button.
Browser Compatibility
7
5
5

See Also

Reference

wijribbon type
wijribbon jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.