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

Set grid's groupable status

1 Answer 69 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rick
Top achievements
Rank 1
Veteran
Rick asked on 12 Feb 2021, 09:24 PM

On my own machine in visual studio this works, but it only works sometimes on the web server.

Essentially when the grid loads the first time, I set it as non groupable because the items in the grid at that time do not need to be grouped, there are only ever a few items at this stage.

Depending on other events that happen, the amount of data in the grid changes and I change it to groupable.

I do this with a Boolean such as in the attached file.

Depending on the boolean, I change it to true or false.

This is working fine on my own machine in Visual Studio, and it seems to work fine on the web server on the first load when the web app wakes up for the first time, but doing a page refresh then it doesn't work anymore. Seems like having a slight delay allows it to set some stuff maybe, but on refresh it's too quick?

I get the drag and drop bar but I can't drag any fields, it's like all fields have been set to non groupable.

Maybe I am trying to be too fancy changing up the grouping ability?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 17 Feb 2021, 09:35 AM

Hello Rick,

I've logged this for improvement and you can Follow its status here: https://feedback.telerik.com/blazor/1507313-cannot-toggle-groupable-at-runtime. The page also offers a workaround that I hope would serve for the time being.

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

Tags
Grid
Asked by
Rick
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or