Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011678Openbravo ERPZ. Otherspublic2009-12-08 10:202011-09-21 22:40
arunkumar 
shuehner 
normalminorhave not tried
closedno change required 
5
2.40 
 
Core
No
0011678: Total number of records is not displayed while pagination
Assume there are 15 records,if we are viewing first five records then the page should display 1-5/15
Prerequisite:

Have a 2.40 environment.
change the org.openbravo.erpCommon.utility.TableSQLData.maxRowsPerGridPage to 5.

Steps:

Go to Information -> Product. Click that.
Product Selector popup window will be opened.
Since we have restricted the number of rows to 5 first five rows will be displayed.Assume that there are totally 15 records.
The page is displaying 1-5/5
The page should display 1-5/15 (since the total number of records is 15).There is no meaning in displaying 1-5/5
page data grid
depends on backport 0011709 closed shuehner Total number of records is not displayed while pagination 
jpg datagrid1.JPG (210,818) 2009-12-08 10:20
https://issues.openbravo.com/file_download.php?file_id=2033&type=bug
jpg
Issue History
2009-12-08 10:20arunkumarNew Issue
2009-12-08 10:20arunkumarAssigned To => rafaroda
2009-12-08 10:20arunkumarFile Added: datagrid1.JPG
2009-12-08 11:42arunkumarTag Attached: page data grid
2009-12-09 13:11shuehnerNote Added: 0022582
2009-12-09 16:25psarobeStatusnew => scheduled
2009-12-09 16:25psarobeAssigned Torafaroda => shuehner
2009-12-09 16:25psarobefix_in_branch => pi
2011-09-21 22:40shuehnerNote Added: 0041206
2011-09-21 22:40shuehnerStatusscheduled => closed
2011-09-21 22:40shuehnerResolutionopen => no change required

Notes
(0022582)
shuehner   
2009-12-09 13:11   
This behavior of not having to calculate the total number of rows in a table was one of the technical requirements for this project as its is comparably slow with huge datasets.
(0041206)
shuehner   
2011-09-21 22:40   
This change was done intentional and one of the main technical goals of the 'paged datagrid' was to not need to calculate the total numbers of rows.

However with the new 3.0 major version the grid's to now show any global count anymore so this changed behavior is now the standard behavior in the new design even.