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
Currently column width is computed via functions in ColumnMetrics module. This code is also called by Header and Grid components to implement column resizing functionality.
Instead it would be useful to abstract column width computation and column resizing into a certain implementation of a column width controller. We can also provide the ability to replace a column controller by a different which implement a different strategy to managing column width.
That would also remove column resizing code from core and make core simpler.
To pass a column width controller to a grid one would use the following API:
<Grid columnWidthController={someController} />
if not columnWidthController is passed then Grid would use default implementation with the featureset closer to what the current Grid component provides regarding column width and column resizing.
The text was updated successfully, but these errors were encountered:
Currently column width is computed via functions in ColumnMetrics module. This code is also called by
Header
andGrid
components to implement column resizing functionality.Instead it would be useful to abstract column width computation and column resizing into a certain implementation of a column width controller. We can also provide the ability to replace a column controller by a different which implement a different strategy to managing column width.
That would also remove column resizing code from core and make core simpler.
To pass a column width controller to a grid one would use the following API:
if not
columnWidthController
is passed thenGrid
would use default implementation with the featureset closer to what the currentGrid
component provides regarding column width and column resizing.The text was updated successfully, but these errors were encountered: