var instance; // Type: wijmo.grid.IDetailSettings; var value; // Type: any value = instance.rowStyleFormatter;
var rowStyleFormatter : any;
Function used for styling rows in wijgrid.
var instance; // Type: wijmo.grid.IDetailSettings; var value; // Type: any value = instance.rowStyleFormatter;
var rowStyleFormatter : any;
// Make text of the alternating rows italic. $("#demo").wijgrid({ data: [ [0, "Nancy"], [1, "Susan"], [2, "Alice"], [3, "Kate"] ], rowStyleFormatter: function (args) { if ((args.state & wijmo.grid.renderState.rendering) && (args.type & wijmo.grid.rowType.dataAlt)) { args.$rows.find("td").css("font-style", "italic"); } } });