Ticket #7273 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

Grid: after sort, scroller reset to (0,0)

Reported by: clown Owned by: toonetown
Priority: normal Milestone: 1.2
Component: DojoX Grid Version: 1.1.1
Severity: normal Keywords:
Cc: becky, davidb

Description

Invoking sort on the grid by, say, clicking a column header causes parts of the DOM to be replaced. A side effect is that the current position of the scroller is lost, and it is reset to (0,0).

To reproduce:

  1. load http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/grid/tests/test_keyboard.html
  2. move the grid's horizontal scroll bar such that column 15 is in view.
  3. click column 15 header to sort the grid.
  4. after the sort is finished, the horizontal position of the grid is reset back to column 1.

The grid scroll position should not change.

Change History

Changed 5 months ago by BryanForbes

  • milestone changed from tbd to 1.2

Changed 5 months ago by toonetown

  • owner changed from BryanForbes to toonetown
  • status changed from new to assigned

just a clarification - horizontal scroll should not be reset...what about vertical scroll? Since you are sorting, there is no concept of "where you were" - that is,

Changed 5 months ago by toonetown

  • status changed from assigned to closed
  • resolution set to fixed

(In [14868]) Fixes #7273 Fixes #7186 - restore scroll position when sorting or resizing columns !strict

Note: See TracTickets for help on using tickets.