Opened 11 years ago
Closed 11 years ago
#12316 closed defect (fixed)
EhancedGrid Pagination problem when using editable widget
Reported by: | davliu | Owned by: | evan |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | DojoX Grid | Version: | 1.6.0b1 |
Keywords: | pagination edit | Cc: | |
Blocked By: | Blocking: |
Description
For example, if my layout has this field:
{
field: 'post', editable: true, type: dojox.grid.cells._Widget
}
when I click editable cell in the 2nd row of page 1, keep the editing mode, then click the page 2, in the page 2, the editable cell of the 1st row in the page 2 is in editable mode, and the content is the content of the 1st row in page 1!!
Attachments (1)
Change History (5)
comment:1 Changed 11 years ago by
Changed 11 years ago by
Attachment: | test_enhanced_grid_pagination.html added |
---|
replace the same file in grid-tests-enhanced folder, run the page
comment:2 Changed 11 years ago by
1 more important thing I need to clarify, this problem can only reproduced when singleClickEdit="true".
I attached the test file which I modified from the original pagination test file.
modified 3 parts:
- add dojo.require("dojox.grid.enhanced.plugins.Pagination");
- modify the Album field layout ti { field: "Album", name:"Album",editable: true,type: dojox.grid.cells._Widget, datatype:"string", width: 10},
- enable single click edit for the grid singleClickEdit="true"
To reproduce the problem, when the grid rendered, click row 2 Album field: Are You Experienced, then click same row Year field 1993 to apply the edit. then click page 2, you will see the 1st row album content wad replaced by page 1 row 1 's
comment:3 Changed 11 years ago by
Owner: | changed from bryanforbes to evan |
---|
comment:4 Changed 11 years ago by
Milestone: | tbd → 1.6 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed within [23887] by taking care of SingleClickEdit? in dojox/grid/enhanced/_FocusManager.js
I need correct my description, it should be:
when I click editable cell in the 2nd row of page 1, then click other column to apply the change in the editable cell, then click the page 2, in the page 2, the editable cell of the 1st row in the page 2 is in editable mode, and the content is the content of the 1st row in page 1!!
this problem can be only reproduce 1 time, afterward, it can not reproducible unless you refresh the grid page.