column.cssClass : string Default: undefined


The name(s) of css class(es) that are going to be applied to all cells inside that column, except the header cell.

Examples

  
Edit this example
<table id="grid"></table> <style> .nowrap { white-space: nowrap } .bold { font-weight: bold } </style> <script> $("#grid").grid({ dataSource: "../Grid/GetPlayers", columns: [ { field: "ID", width: 20 }, { field: "Name", width: 100, cssClass: "nowrap bold" }, { field: "PlaceOfBirth" } ] }); </script>