Hierarchical Grid remove + empty Child

3 posts, 0 answers
  1. Tony
    Tony avatar
    10 posts
    Member since:
    Mar 2015

    Posted 06 Aug 2015 Link to this post

    Hi everyone,

     I've got a Hierarchical grid in my form. All of my Parent row have a button "+" to allow user to expand children row even if they haven't any child.

     Is there any way to hide this button when a parent doesn't have any child.

    Thanks in advance.

    Best regards

    Tony

  2. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 06 Aug 2015 Link to this post

    Hello Tony,

    Thank you for writing.

    Please refer to the Hide expand/collapse image in hierarchical RadGridView KB article which is quite useful on this topic. Additionally, the Formatting Cells help article >> Example 4: Hiding child tabs when no data is available section demonstrates a similar approach for hiding the expander item.

    I hope this information helps. Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Tony
    Tony avatar
    10 posts
    Member since:
    Mar 2015

    Posted 06 Aug 2015 in reply to Dess Link to this post

    It works,

     

    Thanks

Back to Top