Wicket
  1. Wicket
  2. WICKET-4403

Go to page 1 when datatable is filtered

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None

      Description

      Go to the first page of a datatable when you filtered the data with a IFilterStateLocator. Currently this is already implemented when you sort a column.
      When you're not on the first page and you filter the data, you go to the last page available for the new data. This is confusing and ugly.

        Activity

        Hide
        Martin Grigorov added a comment -

        Can you provide a patch ?

        Show
        Martin Grigorov added a comment - Can you provide a patch ?
        Hide
        Martin Grigorov added a comment -

        FilterForm just manipulates the filter state but it doesn't know anything about what other components are used in the page so it cannot manipulate them.
        Sorting always works with DataTable, that's why this is possible.

        Show
        Martin Grigorov added a comment - FilterForm just manipulates the filter state but it doesn't know anything about what other components are used in the page so it cannot manipulate them. Sorting always works with DataTable, that's why this is possible.

          People

          • Assignee:
            Unassigned
            Reporter:
            Rotschi Fanky
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development