2 Replies Latest reply on Mar 7, 2012 9:33 AM by roet42

    Richfaces 4.2 rich:dataTable width.

    roet42

      I have been working for a t this point what I consider to be a completly unreasonble amount of time trying to make an rich:datatable occupy 100% o fthe available width of it's parent.  I assume I am compltly misunderstanding how width works with this component.

       

      Can anyone post a simple example of how one could create a rich:datatable that in essense has it's width attribute as 100%?

       

      Thanks

        • 1. Re: Richfaces 4.2 rich:dataTable width.
          sabya113

          This is working for me

          <rich:dataTable var="rowData"

                                  value="#{xBean.feedList}" style="width:100%">

           

          i dont know why the data Table is not taking 100% width by default.

          • 2. Re: Richfaces 4.2 rich:dataTable width.
            roet42

            Wow, I was screwing around trying to get this done through skinning. I tred using the old width attribute, but I completly overlooked simply thowing a style on it.  Must have had the appature of my telescope a little to focused when looking to solve this one.

             

            Thanks