ICEfaces
  1. ICEfaces
  2. ICE-11499

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

    Details

      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

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Fix Version/s EE-3.3.0.GA_P08 [ 13293 ]
        Arturo Zambrano made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Affects Version/s EE-4.3.0.GA_P01 [ 13280 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53249 Mon Jul 06 09:46:17 MDT 2020 art.zambrano ICE-11499 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
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/paginator/paginator.js
        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)
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-4.3.0.GA_P03 [ 13570 ]
        Arturo Zambrano made changes -
        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. 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.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53271 Wed Jul 22 10:39:14 MDT 2020 art.zambrano ICE-11499 a fix to set {startRecord} to zero when there are zero records on the table
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/paginator/paginator.js
        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)
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: