Ticket #6130 (closed defect: worksforme)
Layout problems related to horizontal scrolling in dojox.Grid
| Reported by: | guest | Owned by: | toonetown |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | DojoX Grid | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: | yatessc@… |
Description (last modified by toonetown) (diff)
I have picked up a couple of quirky behaviours with a grid that is wide enough to have horizontal scrollbars.
i) if the grid is scrolled to the right, and then you sort on a column, the grid headers become misaligned with the body rows - the body rows snap back to full left scroll, whereas the headers stay in their scrolled position, at least until you scroll again; ii) if the grid is scrolled to the right, and you select (click on) a row, both body and headers snap back to full left scroll.
Both the above occur in 1.0.2, 1.1.0 Beta 2 and the nightly build of the 5th March (only tested on IE6, since that's all I have access to at present). With 1.0.2 there is an additional problem - with a grid scrolled to the right, even a mouseOver on a selected row causes the grid to snap back to full left scroll - this problem is however fixed in 1.1.0 Beta 2 and the nightly.
None of these is particularly serious, but they can be irritating. I will attach a test file that can be used to demonstrate the problems - you will need to change the paths appropriately, and may need to widen one of the columns to enable the horizontal scroll bar, depending on your screen width.