Unplanned
Last Updated: 25 Jan 2022 05:52 by ADMIN
Adam
Created on: 22 Jul 2021 11:40
Category: KendoReact
Type: Feature Request
3
Add onAction event to the TileLayout #865

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

3 comments
ADMIN
Stefan
Posted on: 25 Jan 2022 05:52

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.

Dean
Posted on: 24 Jan 2022 16:06

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

ADMIN
Stefan
Posted on: 22 Jul 2021 11:48

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/.