2 Replies Latest reply on May 16, 2012 2:29 PM by roet42

    4.2 Iterate Rows of datatable

    mtrapl

      Prior to 4.0 a developer could iterate the rows of a datatable using the same code as one would use on almost any datatable implementation.  Simply walking through the rows with a iteration of the number of rows in the table and calling the .setRowIndex method of the HtmlDataTable class.  It looks like in 4.x all data iterationcomponents extend the UIDataAdaptor bae class.  Can anyone expplain how a developer would iterate through the rows of the richfaces datatable component witch richfaces 4.x?

       

      Thanks

        • 1. Re: 4.2 Iterate Rows of datatable
          roet42

          Last week I was trying to understand how datatables are rendered in 4.x as well.  I would really like to see an explination of this as it was a major change in 4.x and the javadocs on the new classes are like UIDataAdaptor are almost more harm than help.  The documentation on all the new datatable classes is very sparse, to the point it only beneifts someone who participated in the implementation.  Any help in understanding the original question would be appreciated.

          • 2. Re: 4.2 Iterate Rows of datatable
            roet42

            Should questions like this posted to the developer forum?