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

Event when expanding/collapsing nested properties?

1 Answer 28 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Ronny
Top achievements
Rank 1
Ronny asked on 23 Aug 2012, 08:27 AM
Hey,

I'm developing a user interface for a Business application which is based on a client/server architecture. There are a lot of informations and properties that need to bee presented to the user. These data are structured and categorized. The requirement to the user interface is that only the currently presented data is loaded and not all of it. The Propertygrid with nested proprties seems to be a good user control to present the data. But I only want to query the data which is currently visible in the property grid. If a node is not expanded, the data should not be queried in order to reduce the data traffic.If I would use RadExpanders, I could listen to the isExpanded/isCollapsed events in order to query only the needed data. Is something like this also possible for the PropertyGrid? Do you have an alternative solution? Maybe RadTreeView?

Thanks in advance,

Ronny

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 28 Aug 2012, 10:19 AM
Hello Ronny,

By default RadPropertyGrid loads its nested properties definitions on demand, when auto-generated PropertyDefinitions are used.  RadPropertyGrid mainly targets scenarios, where an item's properties and their nested properties are displayed and modified. So, if that is your case, it should be a viable choice. On the other hand, if you are aiming to process a collection of items which have hierarchical dependencies to other items RadTreeView or RadTreeListView (or RadGridView) should be much more convenient controls. RadPropertyGrid can also handle custom hierarchies with its unbound mode feature, but it may require a lot of additional customizations for ceratin scenarios. Would you please provide some additional info about the structure of your data and the overall UX that you aim to achieve, so that we could more precisely 
discuss with you the choice of an appropriate control.

Kind regards,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PropertyGrid
Asked by
Ronny
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or