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.IColumn;
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

IColumn Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.