Looking for callback for what item was dragged or resized.
coz we have as well Charts(HighCharts) inside not automatically resizing and we need to determine what item was resized to be able to trigger charts inside to redraw.
https://github.com/telerik/kendo-react/issues/865
Hello, Dean,
Thank you for the extra details.
In general, we can add a parameter to the current event to indicate that this is when the user stopped dragging.
We have a similar parameter in the Grid column resizing event with the end parameter:
https://www.telerik.com/kendo-react-ui/components/grid/api/GridColumnResizeEvent/#toc-end
Regards,
Stefan
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
I would like to support this request (voted) and like to add that it could be a "onDragEnd" type of event fired so that it doesn't fire like the onReposition event does. I would like to see it only fire the once after it has been moved to its final destination, and if that final destination is different than its starting position.
Thank you!
Dean
Hello, Adam,
Thank you for the request.
Until this is implemented, we can use the controlled mode of the Tilelayout and update them on each reposition event. This can be seen in our overview demo where we also have Charts:
https://www.telerik.com/kendo-react-ui/components/layout/tilelayout/
Regards,
Stefan
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.