Hierarchical collections

4 posts, 0 answers
  1. AndrewRichards
    AndrewRichards avatar
    9 posts
    Member since:
    Oct 2011

    Posted 03 Jul 2012 Link to this post

    Hello,

    Is it possible to show collection items on the same grid instead of a separate custom editor ? I mean like this:

    Name
    Players
        [0] Player 1
                 Player1 property1
                 Player1 property 2
                 ...
        [1] Player 2
                 Player2 property1
                 Player2 property 2
                 ...
    TeamColor
    SomeOtherProperty

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 03 Jul 2012 Link to this post

    Hello,

     With the recently released Q2 version of RadControls, RadPropertyGrid can edit collections. Please check our online documentation for an additional information.

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. AndrewRichards
    AndrewRichards avatar
    9 posts
    Member since:
    Oct 2011

    Posted 04 Jul 2012 Link to this post

    Yes, I know that, thanks, but what I meant by my question was that is it possible NOT to use the built-in collections editor so that collections are displayed in the propertygrid hierarchically not as a popup ?

    For example, what propertygrid does right now:

    Name          John Smith
    Birthday       4/26/1934
    Children      (opens a popup)

    ..But what I look for is that the business object can be edited as a treeview:

    Name               John Smith
    Birthday           4/26/1934
    [-] Children      (Children subcollection is expanded)
        [1] Person
           Name           Jack Smith
           Birthday       1/1/1964
           [+] Children  (this subcollection can be expanded)
        [1] Person
          Name             Janet Smith
          Birthday         1/1/1965
          [+]  Children   (this subcollection can be expanded)

    Is that possible ?

    Thanks!


  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Jul 2012 Link to this post

    Hello,

     Yes, it is possible. I have attached a sample project showing how you could define the PropertyDefinitions manually.

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top