Opened 12 years ago

Closed 9 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:


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) (1.3 KB) - added by delf 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by delf

Attachment: added


comment:1 Changed 12 years ago by James Burke

Component: GeneralDojoX Grid
Owner: changed from anonymous to bryanforbes

comment:2 Changed 11 years ago by bill

Owner: changed from bryanforbes to Bryan Forbes

comment:3 Changed 9 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:4 Changed 9 years ago by bill

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