DataTable pagination Issue : DataTable pagination issue: when reloaded, pagination doesnt return to
posted 2 years ago
I have a requirement where i include the ui:composition which contains a DataTable into an XHTML page. everytime i click on the hiperlink in XHTML page, ui:composition which contains the datatable is displayed.
I am able to display all details in the DataTable, edit and navigate using the pagination. But the issue here is when i navigate to lets say 5th page, and click on the hiperlink in xhtml page to display (or think as refresh), the Data is loaded from the database, but DataTable pagination still stays on the 5th page.I need it show from the 1st page . please help me out from this issue..