- 
        1. Re: How to customize rich:dataTable to only show a part of the resultListkeithnaas Mar 3, 2008 8:15 PM (in response to pete007)I believe you are looking for the first and rows attributes described in the rich:datatable docs If memory serves me, first is zero indexed. You can probably do something like this. <rich:dataTable var="person" value="#{personList.resultList}" rendered="#{not empty personList.resultList}" first="0" rows="20"> ... </rich:dataTable> <rich:dataTable var="person" value="#{personList.resultList}" rendered="#{not empty personList.resultList}" first="20" rows="20"> ... </rich:dataTable>
- 
        2. Re: How to customize rich:dataTable to only show a part of the resultListpete007 Mar 3, 2008 8:55 PM (in response to pete007)Yeah, thank you very much, this works great! And silly me was trying such a nasty stuff: .. value="#{personList.resultList.subList( java.lang.Math.min(personList.resultList.size(),20), java.lang.Math.min(personList.resultList.size(),39))}" ..Just out of curiosity: I had to add the min() to avoid the ArrayIndexOutOfBounds of sublist, but my nice statement didnt work either. I tested using min() alone and it returned nothing?? .. MIN OF 14,19 = #{java.lang.Math.min(14,19)} <br/> ..How would I call it, if I needed it once for something? .. .. for someones information: the preview is freezing very often, I asume it has to deal with the quotes. the last word on the line is often doesn, it or didn .. and although I clear the complete edit field, it doesnt ressurect again. Thats btw the reason why Im writing everything without quotes ;) Im on Firefox 2.0.0.12. 
- 
        3. Re: How to customize rich:dataTable to only show a part of the resultListalexsmirnov.alsmirnnov.gmail.com Mar 4, 2008 1:57 AM (in response to pete007)You can use rich:dataGrid component ( see http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/RichFacesComponentsLibrary.html#dataGrid ). 
 It is exactly left-to right multy-column grid layout.
 
     
    