Wijmo UI for the Web
command Field

Type: wijmo.grid.ICommandButton

Represents options of a command button.

Syntax
Javascript (Usage) 
var instance; // Type: wijmo.grid.IC1BtnFieldOptions;
var value; // Type: ICommandButton
value = instance.command;
Javascript (Specification) 
var command : ICommandButton;
Example
$("#element").wijgrid({
   columns: [{
      buttonType: "link",
      command: {
         text: "myCommand",
         click: function (e, args) { 
            alert("clicked!");
         }
      }
   }]
});
Browser Compatibility
7
5
5

See Also

Reference

IC1BtnFieldOptions Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.