-
1. Re: h:column with rich:scrollableDataTable
darmstadter Feb 19, 2009 3:40 AM (in response to ramki9977)I am not sure, but you can try it with style and css.
-
2. Re: h:column with rich:scrollableDataTable
ramki9977 Feb 19, 2009 4:17 AM (in response to ramki9977)i tried using css but here the problem is actual columns width is changing, but column header is not changing.
thanks,
ramki. -
3. Re: h:column with rich:scrollableDataTable
darmstadter Feb 19, 2009 5:03 AM (in response to ramki9977)please try again
<rich:scrollableDataTable rowClasses="yourRowStyle" columnClasses="yourColumnStyle"> <rich:column> <f:facet name="header"> <h:outputText value="your column name"/> </f:facet> </rich:column> </rich:scrollableDataTable>
-
4. Re: h:column with rich:scrollableDataTable
ramki9977 Feb 19, 2009 5:18 AM (in response to ramki9977)<rich:scrollableDataTable value="#{demo.tempList}" var="currentRow"
id="ramki" columnClasses="tempCol1,tempCol2" rowClasses="tempCol1,tempCol2">
<rich:column>
<f:facet name="header">
<h:outputLabel>Column1</h:outputLabel>
</f:facet>
<h:outputLabel value="#{currentRow.codeValue}"></h:outputLabel>
</rich:column>
<rich:column>
<f:facet name="header">
<h:outputLabel>Column2</h:outputLabel>
</f:facet>
<h:outputLabel value="#{currentRow.codeDescription}"></h:outputLabel>
</rich:column>
</rich:scrollableDataTable>
.tempCol1
{
width:50%;
}
.tempCol2
{
width:10%;
}
i tried that and its not working