• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Help with rich:datascroller

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hello All,


I need help with the DataScroller of the DataTable

I have the following

<rich:dataTable value="#{userTableBean.dataList}" var="dataItem"
rowClasses="row1, row2" id="taskList" rows="2"
columnClasses="50,100,100,100"
width="350">

<f:facet name="header">
<rich:columnGroup>

<rich:column colspan="4">
<h:outputText value="Trouble Tickets opened" />
</rich:column>

<rich:column breakBefore="true">
<h:outputText value="Ticket Id" />
</rich:column>


</rich:columnGroup>
</f:facet>


<rich:column>
<h:outputText value="#{dataItem.userName}" />
</rich:column>

<rich:column>
<h:outputText value="#{dataItem.lastName}" />
</rich:column>

</rich:dataTable>


<rich:datascroller align="left" for="taskList" immediate="true" maxPages="20" />


Now as you see the datascroller ...

The issue is that .. when there is pagination .. i.e: there is scrolling when data doesnt fit.. when I click on the second index or third ...

it doesnt bring its results until the WHole page is refreshed ...

can any 1 help me with this ???

THANKS a lot
 
Saloon Keeper
Posts: 28663
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you use the "Code" button on the editor, you can make this kind of stuff more readable.

By default, RichFaces isn't going to do partial page refreshes. If you want the table display to update without updating the entire page, you need to indicate that it's part of the page that gets re-rendered by supplying the reRender attribute on the control that submits the postback request.
 
reply
    Bookmark Topic Watch Topic
  • New Topic