ICEfaces
  1. ICEfaces
  2. ICE-11499

ace:dataTable, paginator, last page is displaying incorrect {endRecord} value

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P07, EE-4.3.0.GA_P01
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      On an ace:dataTable that uses a paginator, the {endRecord} value displayed on the last page is incorrect. It displays the maximum number of rows that that page would have if it was full, instead of displaying the number corresponding to the last/total number of rows that the table actually has.

      Also, when the table has zero records (and paginatorAlwaysVisible is set to true) the {startRecord} value appears as 1, instead of 0.

        Activity

        Hide
        Arturo Zambrano added a comment -

        r53248, r53249: set the value of endRecord in the paginator to the minimum value among the total number of records and rows per page multiplied by the page number (ee 3.3 maintenance branch and 4.3 trunk)

        Show
        Arturo Zambrano added a comment - r53248, r53249: set the value of endRecord in the paginator to the minimum value among the total number of records and rows per page multiplied by the page number (ee 3.3 maintenance branch and 4.3 trunk)
        Hide
        Arturo Zambrano added a comment -

        r53269, r53270, r53271: a fix to set

        {startRecord}

        to zero when there are zero records on the table (ee 3.3 maintenance branch, P08 tag, and 4.3 trunk)

        Show
        Arturo Zambrano added a comment - r53269, r53270, r53271: a fix to set {startRecord} to zero when there are zero records on the table (ee 3.3 maintenance branch, P08 tag, and 4.3 trunk)

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: