This project is read-only.

More Grid Options

Mar 25, 2009 at 9:10 PM
As part of addressing the Localization issue, I've added some additional skinning options for the grid. The core issue to skining the grid is that there are very few column oriented skinning options. Typically, the column skining is useful for things like restricting column width, etc. So note the new behavior...

A column's footer text now defines custom skinning styles for the column's header, items, and alternate items. We do this by joining whatever is in the FooterText field with the following prefixes:

dnndkp_GridHeader
dnndkp_GridItem
dnndkp_GridAltItem

So if we set the FooterText for a column to "Image" then that column can be skinned using the following styles:
 
dnndkp_GridHeaderImage
dnndkp_GridItemImage
dnndkp_GridAltItemImage

In this way, you can open the ASPX file for the grid you want to change, set the FooterText to any value you want for whatever grid column you want to style differently, and then create those styles in your module.css file.

Enjoy!