2 Replies Latest reply on Jun 24, 2009 5:26 PM by erikj17

    Saving filter/sort 'state' on datatable

      I have a datatable with datascroller and also using the canned or simple version of the filter/sort on the columns.

      When users type in the filter box, or sort, then click a link in that datatable, I need to save the 'state' of that table so when they return it puts them back in place of the datatable that they just were.

      Any ideas or hints on how the best way to do this is? Thanks!

        • 1. Re: Saving filter/sort 'state' on datatable

          In other words, I need to be able to save the state of the datatable no matter what the users did. Whether they filter or sort, I need to be able to save the entire state of that table to a backing bean. Then, when users return to that page, the datable is returned to the state that was saved in the backing bean.

          Is this possible?

          • 2. Re: Saving filter/sort 'state' on datatable

            I just wrote a custom filtering bean and scrapped the easy/canned way to filter. This keeps the filter criteria when returning to the page.


            Thanks anyways.