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

After remove property definition, all other definition is read only

1 Answer 43 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Ferenc
Top achievements
Rank 1
Ferenc asked on 13 May 2019, 09:39 AM

Hi!

If i remove some property definition at runtime on code behind, then all other definition is only readonly on UI. I debugging the property definition list, but show is readonly = false after remove items, however UI is disabled.

The removed item is properly removed from UI.
What the problem?

This code using to remove:
EditProperty.PropertyDefinitions.RemoveRange(EditProperty.PropertyDefinitions.Where(x => x.OrderIndex == 500).ToList());

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 16 May 2019, 08:09 AM
Hello Ferenc,

Thank you for the provided code snippet. 

I tried to reproduce the described scenario on my end, however I was not able to do so. This is why I am attaching the sample project, which I used for testing.

May I ask you to check it out and let me know, if I am missing something of importance? Can you elaborate on how I can reproduce the same behavior with the sample project? This way I will hopefully be able to replicate the result and investigate it.

Regards,
Vladimir Stoyanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
PropertyGrid
Asked by
Ferenc
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or