This is a migrated thread and some comments may be shown as answers.

Dynamically toggle resize/reorder

5 Answers 221 Views
TileLayout
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 23 Sep 2020, 02:31 AM
Love the new component; however, when updating the reorder/resize parameters, the component is re-rendered, enabling the cursors for resize and drag/drop but no functionality. In addition, when debugging, the options for the front-end do not update after the initial load.

5 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 23 Sep 2020, 01:09 PM

Hello Brian,

I made the following page where you can Follow the status of this enhancement: https://feedback.telerik.com/blazor/1485927-dynamically-toggle-resize-reorder

Could you also provide some more details on what you mean by " In addition, when debugging, the options for the front-end do not update after the initial load." because I am not sure I understand correctly? Is it something beyond the fact that enabling the features dynamically does not work?

 

Regards,
Marin Bratanov
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/.

0
Brian
Top achievements
Rank 1
answered on 23 Sep 2020, 07:39 PM

Hey Mark,

Thanks for the quick reply!

So about the debugging.. I was just diving into the frontend portion since I want to cut over from a different grid-layout implementation and I need to keep the reorder/resize functionally behind permissions; however, I noticed the resize/reorder options in the front-end script do not change after the layout is initialized even though the state "has changed". 

Since these two options are parameters of the component, I was not sure if this would be a potential bug or if the intention is not to re-render/initialize the component when a parameter changes.

Thanks, 

Brian

0
Marin Bratanov
Telerik team
answered on 24 Sep 2020, 04:59 PM

Hi Brian,

The grid renders only when needed, and only certain actions re-render it. Changing these two properties do not, and that's why it does not really work when you toggle them at runtime. Thus, it is a feature that must be implemented in the grid.

 

Regards,
Marin Bratanov
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/.

0
Brian
Top achievements
Rank 1
answered on 24 Sep 2020, 05:44 PM

Great.. thanks for the reply.. and sorry for addressing you as Mark.. I had a few other replies open and one was for a Mark.

Brian

0
Marin Bratanov
Telerik team
answered on 25 Sep 2020, 07:54 AM

No worries, Brian, it's usually "Martin" for most people :)

 

Regards,
Marin Bratanov
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
TileLayout
Asked by
Brian
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Brian
Top achievements
Rank 1
Share this question
or