1 Reply Latest reply on Nov 4, 2008 12:38 PM by Ilya Shaikovsky

    Bud with column width when using filter in datatable?

    goompas goompas Newbie

      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>


      when i remove
      filterBy="#{us.id}" filterEvent="onkeyup"
      its work perfect. Why ?