Opened 11 years ago

Closed 7 years ago

#9157 closed defect (patchwelcome)

DataGrid selection invalid after items removed

Reported by: djhutch Owned by: Bryan Forbes
Priority: high Milestone: future
Component: DojoX Grid Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

After removing selected items from a DataGrid? (by removing them from the data store), the selections are not cleared internally. I have implemented a simple fix to the _onDelete function locally that seems to correct this problem. The fix is in the attached DataGrid?.js file and marked with a FIX: comment.

Attachments (1)

DataGrid.js (14.2 KB) - added by djhutch 11 years ago.

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by djhutch

Attachment: DataGrid.js added

comment:1 Changed 10 years ago by Nathan Toone

Resolution: fixed
Status: newclosed

(In [20272]) Fixes #9157 - remove item from selection if it is selected !strict

comment:2 Changed 10 years ago by Nathan Toone

Milestone: tbd1.4

comment:3 Changed 10 years ago by Nathan Toone

Milestone: 1.41.5
Resolution: fixed
Status: closedreopened

This fix causes problems when deleting multiple items.

comment:4 Changed 10 years ago by Nathan Toone

(In [20291]) Refs #9157 - revert change which breaks deleting of multiple items !strict

comment:5 Changed 9 years ago by bill

Milestone: 1.51.6

1.5 is released, moving remaining tickets to 1.6

comment:6 Changed 9 years ago by bill

Milestone: 1.6future

(sadly) punting seemingly abandoned ticket and meta tickets to future

comment:7 Changed 7 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:8 Changed 7 years ago by bill

Resolution: patchwelcome
Status: reopenedclosed
Note: See TracTickets for help on using tickets.