Wijmo UI for the Web
rowStyleFormatter Field

Function used for styling rows in wijgrid.

Syntax
Javascript (Usage) 
var value; // Type: any
value = jQuery.wijmo.wijgrid.options.rowStyleFormatter;
Javascript (Specification) 
var rowStyleFormatter : any;
Example
// Make text of the alternating rows italic.
$("#demo").wijgrid({
    data: [
        [0, "Nancy"], [1, "Susan"], [2, "Alice"], [3, "Kate"]
    ],
    rowStyleFormatter (args) {
        if ((args.state & wijmo.grid.renderState.rendering) && (args.type & wijmo.grid.rowType.dataAlt)) {
            args.$rows.find("td").css("font-style", "italic");
        }
    }
});
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.