Make Row Visibility Collapsed

2 posts, 0 answers
  1. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 24 Oct 2011 Link to this post

    While i am trying to set the

    row.Visibility =



    then blank spaces appears accross the row in my TreeListView. I do nt want to show the row based on my condition. How i will be able to accomplish that. Please help me.

    My requirement is if the row.Level = 3 and row does not have children then i do not need to show that row. My tree can be expanded upto 7th level.



    (objBind.Level == 3 &&  objBind.Items.Count == 0)



    row.Visibility =



    row.Height = 0.0;


  2. Vlad
    Vlad avatar
    11100 posts

    Posted 24 Oct 2011 Link to this post


     Working directly with UI containers visibility is not recommended since this is used by the virtualization. You can use filtering instead at your data level. 

    Best wishes,
    the Telerik team

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

Back to Top