-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Description
This is a regression in Kendo v12 (probably introduced in v10 or v11). The Grid's onColumnResize
event contains a columns
property which is used to determine the latest width of every column. However, in latest Kendo version, these values are stale and return the previous state of the grid columns (before column resizing started).
As a workaround a combination of GridColumnResizeEvent
's index
and newWidth
properties can be used to find out the actual width value of the column that's being resized, but those properties are marked as deprecated.
Plan
KendoReact
Steps To Reproduce
Try resizing a column and observe the console logs.
https://stackblitz.com/edit/react-crj9saiy?file=app%2Fapp.tsx
Screenshots or video
No response
Actual Behavior
onColumnResize
event's columns
property contain stale width values which prevents us from properly handling the column resizing event.
Expected Behavior
The widths in onColumnResize
event's columns
property should update accordingly as we drag the resize handle, as in previous Kendo versions.
Browser
Chrome
Browser version
latest
OS type
MacOS, Windows
OS version
No response
Last working version of the KendoReact package (if regression).
8