SmartGwt 2.4, gwt 2.2
I have HeaderSpans on my ListGrid and they work great. I would like to add a CSS style to the spans that will differentiate them from the ListGrid header Titles.
Looking at the class in the HTML and the CSS, a HeaderSpan and a ListGridField use the same CSS class, so it appears to be impossible to skin them independently using the normal API.
Is there a backdoor that I can override the style="" for each HeaderSpan that is inserted inline in the HTML? I can edit that in firebug and get the desired result, I just need a way to spit out a custom style="" tag programmaticly.
This is what a HeaderSpan looks like:
Here is a ListGridField (table header)
I have HeaderSpans on my ListGrid and they work great. I would like to add a CSS style to the spans that will differentiate them from the ListGrid header Titles.
Looking at the class in the HTML and the CSS, a HeaderSpan and a ListGridField use the same CSS class, so it appears to be impossible to skin them independently using the normal API.
Is there a backdoor that I can override the style="" for each HeaderSpan that is inserted inline in the HTML? I can edit that in firebug and get the desired result, I just need a way to spit out a custom style="" tag programmaticly.
This is what a HeaderSpan looks like:
Code:
<td class="headerTitle" valign="center" nowrap="true" align="center" onfocus="isc_ListGrid_0_headerSpan_label.$47()" tabindex="-1" '="" style="padding-top:0px;padding-bottom:0px;">Seconds</td>
Code:
<td class="headerTitle" valign="center" nowrap="true" align="left" onfocus="isc_ImgButton_0_label.$47()" tabindex="-1" '="" style="padding-top:0px;padding-bottom:0px;">Timestamp</td>