Resetting Primefaces DataGrid Row Data?

Up vote 1 down vote favorite share g+ share fb share tw.

I have a search form that displays search results in a dialog and lets the user search again and redisplay the different results in the same dialog. I have pagination and the page number won't reset when the user searches again. It will remain on the page where they left it on the last search.

I ended up binding the Primefaces DataGrid component and I set the DataGrid. SetPage(1) and that fixes the pagination, but the data is still on the last row. Is there a way to rest the DataGrid row?

I've tried the DataGrid. SetRowIndex but that removes my navigation. Any ideas?

Primefaces link|improve this question asked Aug 16 '11 at 6:45c12405340 90% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions