Opened 7 years ago

Closed 6 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:

  1. Setup an Enhanced Grid with Pagination plug in enabled.
  2. Populate the grid with some records.
  3. Programatically resize the grid to a smaller size vertically.
  4. 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 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.