PDA

View Full Version : Nested Property Grid Styles



jdecew
1 Sep 2009, 1:08 PM
I have a Grid with a ColumnConfig whose ID uses a nested property. This works great in GXT, but now I want to style that column using CSS. The DIV I get is as follows:

<div class="x-grid3-cell-inner x-grid3-col-trackingModel.barChart">But this is an invalid class name (as far as I can tell) so I can't style the column as I could if it were not nested.
I considered reorganizing my objects, but I don't want to go through all that trouble just to do some minor CSS styling, and it seems as though this should be supportable. I would suggest replacing the period (.) with an underscore (_) or maybe a hyphen (-) when generating the class name for a ColumnConfig.

Also, such a change wouldn't break anything since as far as I know the current style is impossible to use.

Thoughts?
--Jeff