Change CSS class on grid header for one page only

Oct 1, 2013 at 2:36 PM
I am using this wonderful grid on several web pages. Can I change the grid header CSS class on one page only?

I am currently using .SetRowCssClasses to alter row styles.

Thank you!
Coordinator
Oct 2, 2013 at 3:55 AM
Hi,
There is a several ways to do this
  1. Place your grid in specific container on the page and use css selector like #mypage .grid-header
  2. 3.0 version has a css method to specify css classes of the columns. You can specify column classes: columns.Add(m=>m.Name).Css("myclass"), and use th.myclass selector
  3. Create custom IGridColumnHeaderRenderer and replace column header renderer with your custom implementation