Filtering shifts header causing misalignment

3 posts, 0 answers
  1. Francisco Amador
    Francisco Amador avatar
    40 posts
    Member since:
    Mar 2010

    Posted 11 Mar 2011 Link to this post

    I've been trying to add a filter to this treelistview but have had this extra header spacer added automatically. Unfortunately it only appears when I filter and it causes the header to no longer be aligned with the content. It thought it may have been the rowindicator, but even after turning it on and off it is still displayed when filtering.
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 12 Mar 2011 Link to this post

    Hi Francisco,

    Actually, this part of GridViewHeaderRow is called GridViewIndentCell. However, the behavior you experience is a bit strange and it is not the default one.
    I have prepared an example for you following the structure from the attached picture and everything works as expected on my side. Please check the attached project and let me know how it differs from yours. 
     

    All the best,
    Vanya Pavlova
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
  4. Francisco Amador
    Francisco Amador avatar
    40 posts
    Member since:
    Mar 2010

    Posted 12 Mar 2011 Link to this post

    After some further running inspection of my code I have found the problem to be that I was attempting to group the TreeListView. That piece of code I had been using for filtering and grouping RadGridViews and had made it generic enough to work with GridViewDataControl. Since all my RadGridViews were working I had not tried to filter and group in this screen as well.

    I have now added a check to make sure to not add a GroupDescriptor to the RadTreeListView. That has solved the display issue.
Back to Top