Datatable paginator weird behavior

UI Components for JSF
Post Reply
dmantil
Posts: 93
Joined: 14 Jul 2010, 22:30

04 Jan 2011, 21:26

Hi,
I Need help with this:

https://5964080845366492673-a-180274477 ... eerror.jpg

When i click the next button in paginator the page doesn't change but it repeats the grid header row and the paginator buttons.
Every time i click next button it does the same thing.

This is a part of my code to create the datatable:

mainDataTable = new DataTable();
mainDataTable.setId( mnDataTb );
mainDataTable.setDynamic(false);
mainDataTable.setLazy(false);
mainDataTable.setPaginator(true);
mainDataTable.setStyle( "width: 600px;" );
mainDataTable.setRows(10);
mainDataTable.setSelectionMode("single");
mainDataTable.setVar( "tablevar" );
mainDataTable.setEmptyMessage( "--");

Any idea ???
Thanks!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests