What properties are not compatible with displaying hierarchical data?

2 posts, 0 answers
  1. Thom
    Thom avatar
    1 posts
    Member since:
    Apr 2013

    Posted 02 Apr Link to this post

    I am loading a Gridview in unbound mode to create  hierarchy. I followed the article and leaving all grid properties set to defaults, I can successfully create the hierarchical relationship and it will display. Then I start setting properties to tailor the grid. Note I am trying to create a "toolbox" like view where summary information about a tool is the top level, then clicking it exposes more information. This means the result is something that is not "grid looking per se.

    Anyhow as I start removing grid features - grouping, etc. at some point I hit a property that prevents the child from displaying; but I don't know which one(s)

    Is there a list of properties that cannot be set to false ?

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3900 posts

    Posted 06 Apr Link to this post

    Hello, Thom,  

    Your question has already been answered in the support thread you have opened on the same topic. However, I am posting the answer here as well in order the community to benefit from it.

    According to the provided information, it would be difficult to conclude what causes the hierarchy to disappear since I am not familiar with the complete hierarchy setup on your end. There are no specific properties that are compatible or not with hoerarchy. 

    However, I would like to mention what is important to build an hierarchy:
    1. Populate data on the master level.
    2. Add a child GridViewTemplate and populate it with some data. Please make sure that there is a filed from the child level that points to the respective parent record, e.g. ParentId in the child template and Id in the master template.
    3. Define a relation between the two templates and specify the columns that build the relation (ParentId and Id).

    If some of the above mentioned steps is not accomplished, the hierarchy won't be built properly.

    You can refer to the Hierarchical Grid in Unbound mode section in the following help article for more details: https://docs.telerik.com/devtools/winforms/controls/gridview/hierarchical-grid/binding-to-hierarchical-data-programmatically   

    We kindly ask you to use just one thread for a specific problem to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two or more tickets instead of one. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.

    Thank you for your understanding.

     

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top