-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
When I double click on a cell in an editable grid it becomes editable. When I complete my edit, if I press Enter the grid is updated just as I'd expect. If instead I tab to the next cell, my onRowUpdated callback is invoked (again, as I'd expect) and all underlying data structures are updated appropriately but the grid still displays the previous value. My theory was that React did not detect the change and thus the full rendering was short circuited somewhere but I did add a key to my row, e.g.,:
<ReactDataGrid.Row key={row.id} ref="row" {...this.props}/>
Is this a bug? A feature? Is there any control over which event makes the cell editable? Double-click vs. click, etc.?
Side note - I'm using a custom row renderer as described here:
Metadata
Metadata
Assignees
Labels
No labels