DataGrid generates runtime errors when you delete rows in a particular order
I found that if you delete grid items in a particular order, you can get Javascript errors. Firebug reports the error as,
this._by_idx[_4bf] is undefined
I think this is coming from the _onDelete method of DataGrid?. I'm attaching a test case that shows the error. A grid with 2 rows is created. When you click on the checkbox, the row is deleted. If you delete the second row and then the first row, you get an error. If you do it in the other direction, everything is fine.
Change History (9)
Component: |
General →
DojoX Grid
|
Owner: |
changed from anonymous to bryanforbes
|
Owner: |
changed from bryanforbes to Bryan Forbes
|
Milestone: |
tbd →
1.7
|
Priority: |
normal →
high
|
Owner: |
changed from Bryan Forbes to Evan
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Example that shows DataGrid? deletion bug.