OFBiz
  1. OFBiz
  2. OFBIZ-3083

Adding a page size selector in the pagination bar

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SVN trunk
    • Component/s: framework
    • Labels:
      None

      Description

      I find usefull to let the user change, on the ui, the actual number of elements contained in a page.
      This can be usefull, for example, when there are 21 elements selected in a query, the user want to print them, and the page size is 20. In this case the user must print two pages.
      Having this feature, the user can select 30 as page size, and have all elements in one page.

      In the attached patch there is a first try I am working on.

      This seens to work (does not support yet ajax and i18n) but I would like to have the size selector shown even if all elements fit in one page so that the user can select a page size with less elements.

      Actually the page size selector is rendered with the prevNext bar. A solution that I was thinking on is to render the prevNext even if it would not be necessary (one page list) with all buttons disabled.

      What do you think about?

      Thank you,
      Bruno

      1. OFBIZ-3083 viewSizeSelector.patch
        5 kB
        Bruno Busco
      2. OFBIZ-3083 viewSizeSelector.patch
        9 kB
        Bruno Busco
      3. OFBIZ-3083 viewSizeSelector.patch
        9 kB
        Bruno Busco
      4. OFBIZ-3083 viewSizeSelector.patch
        10 kB
        Bruno Busco

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Bilgin Ibryam
            Reporter:
            Bruno Busco
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development