#12540 closed defect (fixed)
Enhanced Grid Paginator: Page-Stepper initialization problem
Reported by: | manklu | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Grid | Version: | 1.6.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Enhanced Grid Paginator: Page-Stepper initialization problem
The code in Pagination._createPageStepNodes doesn't work correctly if the result of _getStartPage() is greater than zero.
For a quick fix, change the line
for(var i = startPage; i < this.maxPageStep + 1; i++){
to
for(var i = startPage; i < this.maxPageStep + startPage + 1; i++){
Copy the file 'test_enhanced_grid_pagination1.html' to 'dojox/grid/tests/enhanced' to see the before and after behaviour.
Attachments (3)
Change History (8)
Changed 10 years ago by
Attachment: | test_enhanced_grid_pagination1.html added |
---|
comment:1 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|---|
Priority: | normal → high |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
comment:4 Changed 10 years ago by
(In [25563]) Fixes #13265 !strict so that we can set default page size and default page to be displayed. Refs #12540. Also updated at http://docs.dojocampus.org/dojox/grid/EnhancedGrid/plugins/Pagination
comment:5 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
Testpage