Opened 8 years ago

Closed 6 years ago

#14181 closed defect (patchwelcome)

EnhancedGrid - Pagination: when total records are less than the page size and on server if records added exceeds page size, all records are displayed on refresh

Reported by: elvis Owned by: Evan
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.6.1
Keywords: grid pagination Cc:
Blocked By: Blocking:

Description

Steps to reproduce: Consider that Grid has its rowsPerPage set to 100. Consider that server has total 16 records and page size is 10 then Grid render fine. Now change the page size to 25, which is greater than the total records at present (16). Now add 14 more records in server from background. This makes the total 30 records at server. [This is a very likely scenario in multi client environment] Now refresh the grid.

Current Behavior: After refresh all 30 records are displayed, even when page size is 25.

Expected Behavior: Grid should show 25 records when page size is 25.

Change History (2)

comment:1 Changed 6 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:2 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.