Opened 10 years ago
Closed 9 years ago
#16270 closed defect (patchwelcome)
Enhanced Grid with Pagination plugin hide the pagination bar after grid's size is shrinked vertically
Reported by: | midway500 | Owned by: | Evan |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
After upgrading from 1.6.1 to 1.8.1, after I resize the Enhanced Grid to a smaller size with the Pagination plugin, the pagination bar is now hidden, I have to scroll down in the grid in order to see the pagination bar. Expected behavior is the pagination bar is always available when grid is resized.
The setup is a standard setup:
- Setup an Enhanced Grid with Pagination plug in enabled.
- Populate the grid with some records.
- Programatically resize the grid to a smaller size vertically.
- The pagination's bar is now out of view.
The issue seems to come from the _resetGridHeight function of the dojox.grid.enhanced.plugins._Paginator class of the Pagination.js where the this.plugin.gh only be set when changeSize is true and some how changeSize is set to false.
Thanks.
Change History (2)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.