• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DataTable with DataScroller issue

 
sundaresan ganapathy
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a page with <h:selectOneMenu>,<t:dataTable> and
<t:dataScroller>.
The <t:dataTable> is bound to a list which will be populated
using the valuechangeListener in the <h:selectOneMenu>

The issue i am facing is datatable is not rendering the list whenever
click on data scroller next page.But the list is not empty.

Steps to reproduce the issue:
1.select a option from drop down,this option will fetch records
from DB and populate the list(DataTable) using valueChangeListener

2.As there is more than 10 records in list the datascroller will be rendered for dataTable,now i click on next link to see the next set of records in the dataTable .
3. now select different option from the selectOneMenu this gets the records for the dataTable,but the dataTable is not rendering any records,even though there is a list with records.
This happens only i click the dataScroller,otherwise dataTable works fine


How to fix this issue?

regards,
sundar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic