Opened 11 years ago
Closed 8 years ago
#10713 closed defect (patchwelcome)
ItemFileWriteStore::setValue cause lost GridCellFocus on DataGrid
Reported by: | delf | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.4.0 |
Keywords: | DataGrid ItemFileWriteStore setValue focus keyboard | Cc: | |
Blocked By: | Blocking: |
Description
I got DataGrid? and I want to be able to navigate through cells using keyboard arrows. When I select the row, I want write to store, so I connect onRowClick event and process setValue if needed
dojo.connect( grid, "onRowClick", click ); .. function click( gridRow ) { var item = grid.getItem( gridRow.rowIndex ); var val = store.getValue( item, "foo" ); if( val != "Click" ) { store.setValue( item, "foo", "Click" ); } }
But when store.setValue is called, I lost GridCellFocus? to navigate DataGrid? using arrows and need to click on DataGrid? again with mouse.
Attachments (1)
Change History (5)
Changed 11 years ago by
Attachment: | dataGrid.zip added |
---|
comment:1 Changed 11 years ago by
Component: | General → DojoX Grid |
---|---|
Owner: | changed from anonymous to bryanforbes |
comment:2 Changed 10 years ago by
Owner: | changed from bryanforbes to Bryan Forbes |
---|
comment:3 Changed 8 years ago by
comment:4 Changed 8 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
demo