Ticket #5842 (closed defect: fixed)
Grid shifts when editors close, causing clicks to be interpreted on the wrong cell
| Reported by: | benschell | Owned by: | benschell |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | DojoX Grid | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Consider the test_edit_dijit.html test page under the Grid page, available here
Double-click a cell in the message column. An Editor widget will show up to allow editing of this field. Next, double-click on some row that is below the row that is currently be editing, first noting the index of the row you're double-clicking. When the double-click event is finished, an editor will be opened on the wrong row, generally several rows down from the originally selected row.
Upon the first click event, the original editor is closed and all rows beneath shift up to make up the space that the Editor widget originally took up. Next, the double-click event is processed to open the editor on the row that the mouse is currently hovering over. However, because the rows were shifted between the first click and the double-click event, the mouse is now over a different row than the user originally intended.