-
Gridview column style
For my grid I want set css class for some columns to have it with custom background color and font size.
I did it with ColumnID Property and by js code for parsing grid metadata and columns collection - not the best way but unfortunatly I don't see any another to set css class or styles for grid column.
Maybe someone have better idea how it can be done ?
Thanks.
-
My Version of Ext.Net is 1.0.4093.32349
According to this doc http://dev.sencha.com/deploy/ext-3.3...xt.grid.Column
I set appropriate property Css to testCssClass of Column item in ColumnModel
Code:
<ext:Column Width="200" Css="testCssClass" Hideable="False" MenuDisabled="True"/>
But as result at client i got this one cells for my column
Code:
<td tabindex="0" style="testCssClasswidth: 160px;" class="x-grid3-col x-grid3-cell x-grid3-td-0 x-grid3-cell-first ">
<div unselectable="on" class="x-grid3-cell-inner x-grid3-col-0">01 GROCERY</div>
</td>