This content has been marked as final.
Show 3 replies
-
1. Re: <rich:dataScroller> problem
ilya_shaikovsky Aug 8, 2008 6:13 AM (in response to kdcosta)please show your code.
Do you mean that last page exist but if you click on this page it's empty? -
2. Re: <rich:dataScroller> problem
kdcosta Aug 8, 2008 7:23 AM (in response to kdcosta)Thank u for the reply.
Data scroller is not showing the page for the last set of values from the database.Instead if we select the last page from the scroller, the grid will show the first set values itself.ie the first page and the last page shows the same set of values.
By code as follows<rich:scrollableDataTable value="#{programManager.listType}" var="program" width="100%" height="200px" rowKeyVar="rkv" id="pgmList" rowClasses=" row1, row2" selectedClass="gridselectedRow" rows="10" selection="#{programBean.selection}" onselectionchange="invokeGridSelectButton('pgmForm:btnSelection')"> <rich:column width="253" id="pgmid" headerClass="listhead" sortable="false"> <f:facet name="header"> <h:outputText value="#{programManager.id}" id="h_proId" /> </f:facet> <h:outputText value="#{program.programID}" id="proId"></h:outputText> </rich:column> <rich:column width="347" id="pgmname" headerClass="listhead" sortable="false"> <f:facet name="header"> <h:outputText value="#{programManager.name}" id="h_proName" /> </f:facet> <h:outputText value="#{program.programName}" id="proName"></h:outputText> </rich:column> <rich:column width="352" id="pgmnewName" headerClass="listhead" sortable="false"> <f:facet name="header"> <h:outputText value="New Name" id="h_proNew" /> </f:facet> <h:outputText value="#{program.newName}" id="proNew"></h:outputText> </rich:column> </rich:scrollableDataTable> <rich:datascroller for="pgmList"></rich:datascroller>
-
3. Re: <rich:dataScroller> problem
ilya_shaikovsky Aug 8, 2008 7:30 AM (in response to kdcosta)Scrollable table has own scroll and was nevere declared compatible wi datascroller component.