jQuery.wijmo.wijgrid Namespace > options type : cellStyleFormatter Field |
Javascript (Usage) | |
---|---|
var value; // Type: any value = jQuery.wijmo.wijgrid.options.cellStyleFormatter; |
Javascript (Specification) | |
---|---|
|
// Make the text of the current cell italic. $("#element").wijgrid({ highlightCurrentCell: true, cellStyleFormatter: function(args) { if ((args.row.type & wijmo.grid.rowType.data)) { if (args.state & wijmo.grid.renderState.current) { args.$cell.css("font-style", "italic"); } else { args.$cell.css("font-style", "normal"); } } } });