Wijmo UI for the Web
command Field
wijmo.grid Namespace > IColumn Interface : command Field

Type: wijmo.grid.ICommandButton

Represents options of a command button.

Syntax
var instance; // Type: wijmo.grid.IColumn;
var value; // Type: ICommandButton
value = instance.command;
var command : ICommandButton;
Example
$("#element").wijgrid({
   columns: [{
      buttonType: "link",
      command: {
         text: "myCommand",
         click: function (e, args) { 
            alert("clicked!");
         }
      }
   }]
});
See Also

Reference

IColumn Interface