TreeListView binding to collection in column

2 posts, 0 answers
  1. rick
    rick avatar
    4 posts
    Member since:
    May 2009

    Posted 04 May 2011 Link to this post

    Hi there,
        I am looking for a way to bind a collection of objects inside a TreeListView Grid column. I am able to bind to all of the objects in my hierarchy and have them displayed correctly in the TreeListView Grid. My Object model is something like this

            Collection of Sub Notes ( of type Note )
            Collection of Flag Objects

    Flag Object

    The TreeListView Grid correctly displays the object hierarchy but I do not seem to be able to bind to the collection of Flag Objects. I would also like to use a converter on the Flag objects to change the background color of the cell based on the Flag Type. Could you send me an example of how to do this?

  2. Ivan Ivanov
    Ivan Ivanov avatar
    1201 posts

    Posted 05 May 2011 Link to this post

    Hi rick,

    Actually RadTreeListView is designed to display homogeneous data only, which makes it rather inappropriate for this very case. I would advise you to utilize a hierarchical RadGridView for this implementation. Please, do not hesitate to contact us immediately if there are any further inquiries.

    Kind regards,
    Ivan Ivanov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top