Hello
When i using filter in my datatabl i cant change column width, its set automatic.
I use width="xx", style, styleClass, columnsWidth and nothing work.
When i remove filter from column ith work perfect.
Sample code
<rich:dataTable value="#{usersList.listauserow}" var="us" id="ultable" rows="20" width="850" columnsWidth="50,150,150,50,100,80,50,100.80"> <rich:column filterBy="#{us.id}" filterEvent="onkeyup" width="20" id="ulid" style="text-align: center; width: 20px"> <f:facet name="header"> <h:outputText value="#{txt['id']}" id="hid"/> </f:facet> <h:outputText value="#{us.id}" id="idu"/> </rich:column>
filterBy="#{us.id}" filterEvent="onkeyup"its work perfect. Why ?
Additional input element inserted using built-in filtering.. So td just enlarged because of content size.. RF do not influence on your width with any special styles in this case.
Maybe try to add overflow:hidden to column also?