#6816 closed defect (fixed)
dojox.grid.DataGrid: Need way to get index of an item
Reported by: | nathan | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | DojoX Grid | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
For selecting based on items, it would be nice to have a function for getting an index of a given item. Bryan suggested calling it "getItemIndex". Initially, it will probably call grid._identity_map[grid.model.getIdentity(item)].idx"
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by
Component: | General → DojoX Grid |
---|
comment:1 Changed 14 years ago by
Owner: | changed from nathan to Bryan Forbes |
---|
Changed 14 years ago by
Attachment: | DataGrid_getItemIndex.diff added |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 14 years ago by
Milestone: | → 1.2 |
---|
marking tickets closed in the last three months w/blank milestone to milestone 1.2.
Note: See
TracTickets for help on using
tickets.
Patch which implements getItemIndex - and uses it in the _onDelete function (avoid a crash in certain cases)