Wijmo UI for the Web
iconClass Field

Determines the CSS class used to display an image button.

Syntax
Javascript (Usage) 
var instance; // Type: wijmo.grid.ICommandButton;
var value; // Type: string
value = instance.iconClass;
Javascript (Specification) 
var iconClass : string;
Example
$("#element").wijgrid({
   columns: [{
      buttonType: "imageButton",
      command: {
         iconClass: "ui-icon-info",
         click: function(e, args) {
                        alert(args.row.data.ID);
         }
      }
   }]
});
Remarks
Can be used only if the buttonType option of a button field is set to "imageButton" or "image".
Browser Compatibility
7
5
5

See Also

Reference

ICommandButton Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.