Event when expanding/collapsing nested properties?

2 posts, 0 answers
  1. Ronny
    Ronny avatar
    8 posts
    Member since:
    Mar 2012

    Posted 23 Aug 2012 Link to this post


    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,

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1201 posts

    Posted 28 Aug 2012 Link to this post

    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.

Back to Top