avoid running whole on initialization again on page down.
I am having 2 pages ,on 1st page i take input from user and on second page i display the table.
now when i do page down the whole code for fetching data for table is getting executed again which i don't want since it affects the performance.
if i skip this by setting a flag ,then when i do page down its shows table is empty.
how do i avoid this?
also i have defined a link for one column which opens a new page , when i click on
the column when on page other than 1st page of table view ,it displays 1st page of table view instead of retaining the same page.