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

Type: wijmo.grid.ICommandButton

Represents options of a command button.

Syntax
var instance; // Type: wijmo.grid.IC1ButtonFieldOptions;
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

IC1ButtonFieldOptions Interface