ICEfaces
  1. ICEfaces
  2. ICE-5252

dataPaginator 'firstRowIndexVar' and 'lastRowIndexVer' are set incorrectly when dyanmically changing the rows value for the dataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA
    • Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2

      Description

      A drop down menu has been implemented to change the visible rows in the dataTable. If the backing table model has 20 entries and the rows is set to 5 by default the 'firstRowIndexVar' and the 'lastRowIndexVar' is displayed as "...from 1 to 5.". If for example the page is changed to page three it shows "...from 11 to 15.". Now if the rows value is changed to show 10 rows, the 'firstRowIndexVar' and the 'lastRowIndexVar' values now show "...from 1 to 10." even though it is on page two and therefore should show "...from 11 to 20.". Moving to the first page and then back sets the value to its proper values.

        Activity

          People

          • Assignee:
            Joanne Bai
            Reporter:
            Arran Mccullough
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: