You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Is there a possibility to control keyboard events?
I'm rendering an editor component (with forceComponent: true) in each call and I need to control:
1.press Escape key while editing cell should go out from editing mode to select mode
2.press Tab key while editing cell should go out from editing mode to select mode and navigate to the next cell
2.press right \ left keys while editing cell will not navigate to the next cells
Thanks!
The text was updated successfully, but these errors were encountered:
Is there a possibility to control keyboard events?
Yes, but you need to use a custom DataEditor component which has onKeyDown, onCommit, onRevert props.
And as the doc mentions, you can control keyboard events behavior by overriding the default implementation.
Hey,
Is there a possibility to control keyboard events?
I'm rendering an editor component (with
forceComponent: true
) in each call and I need to control:1.press Escape key while editing cell should go out from editing mode to select mode
2.press Tab key while editing cell should go out from editing mode to select mode and navigate to the next cell
2.press right \ left keys while editing cell will not navigate to the next cells
Thanks!
The text was updated successfully, but these errors were encountered: