Hi, folks
I'm a very noob to richfaces and quite lost with lazy loading I tried to implement something similar to the showcase but the scrollbar don"t show up. here is some code I wrote with RF 4.2.3.
<rich:extendedDataTable value="#{testModel.list}" var="s" selectionMode="none" clientRows="20" style="height:300px; width:500px;" frozenColumns="1"> <f:facet name="header"> <h:outputText value="test table" /> </f:facet> <rich:column> <f:facet name="header"> <h:outputText value="string" /> </f:facet> #{s} </rich:column> </rich:extendedDataTable>
#{testModel.list} points to a simple List<String>
Before you ask, I've spent my afternoon googling for this.
Dave
ok it seems that you need the initially loaded client rows to fill more than the table so that the scroll is triggered and javascript events on scroll can trigger lazy loading.