[data grid] Remove onCellFocusOut
and add documentation for alternative recommended approach.
#6300
Labels
breaking change
component: data grid
This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
v6.x
Summary 💡
Initially, we considered adding
onCellFocusIn
, to complement the use case ofonCellFocusOut
. The internal eventcellFocusIn
is already in place, so that'd mean just adding a callback API.It turns out users can't rely on these events to properly track focus on the Data Grid cells.
The recommended approach is through componentProps, like in this codesandbox.
Motivation 🔦
Enables new extensions on the data grid behavior.
It could help on issues like:
The text was updated successfully, but these errors were encountered: