Wijmo UI for the Web
setButtonChecked Method
wijmo.ribbon Namespace > wijribbon type : 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
$(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);
});
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.
See Also

Reference

wijribbon type
wijribbon jQuery Widget