-
1. Re: Make rich:datatable single column header to transparent.
ilya_shaikovsky May 8, 2009 7:48 AM (in response to anoopanooponly)use headerClass attribute of the column.
-
2. Re: Make rich:datatable single column header to transparent.
anoopanooponly May 8, 2009 8:04 AM (in response to anoopanooponly)Thanks for ur help.
I have tried that,but it did not work:
<rich:dataTable id="t1" styleClass="noBackGrnd" cellpadding="0" cellspacing="0" border="0" var="Record" value="#{someBean.dataModel}" width="100%" >
<f:facet name="header">
<rich:columnGroup>
<rich:column headerClass="noBackGrnd" >
</rich:column>
:
:
where 'noBackGrnd' styleClass has value background: transparent;
Still the first column shows default skin background for first column.
?????? -
3. Re: Make rich:datatable single column header to transparent.
ilya_shaikovsky May 8, 2009 8:19 AM (in response to anoopanooponly)If you use column group and column in the header as at the demo and so the header cell is just the corresponding column content you need to define not headerClass but its styleClass.
b.t.w. in such cases I suggest you to play with firebug in order to check applied styles. -
4. Re: Make rich:datatable single column header to transparent.
anoopanooponly May 8, 2009 8:57 AM (in response to anoopanooponly)Ya now it works in IE but not in FF.
<rich:columnGroup>
<rich:column styleClass="noBckGrnd" >
</rich:column>
:
it Firebug its the table column header is coming like:
I think i need to avoid 'dr-table-headercell rich-table-headercell' classes in order to make the column transparent.
Any idea of how to do it ? This issue may looks simple but its important to me as my UI in not looking good wit tis... -
5. Re: Make rich:datatable single column header to transparent.
ilya_shaikovsky May 8, 2009 9:04 AM (in response to anoopanooponly)why you just not using background:none; ?