Hidding the indent cell column or indicator

2 posts, 0 answers
  1. Marcus
    Marcus avatar
    37 posts
    Member since:
    Aug 2012

    Posted 22 Oct 2015 Link to this post

    Dear support,

    I have three TreeListView-components next to each other. Every one of them shows a part of the same data (scrolling and expanding is synchronised between these three treelistview). So only the most left component has to show the indent-indicator (the black triangle). How can I hide the indicators of the other two TreeListViews?

    Thanks in advance


  2. Stefan Nenchev
    Stefan Nenchev avatar
    534 posts

    Posted 27 Oct 2015 Link to this post

    Hello Marcus,

    You can modify the look of the RadTreeListView and its elements by modifying the RadGridView`s ControlTemplates. As the RadTreeListView inherits the RadGridView, it uses the same styling mechanism. So what you need to do is Edit the GridViewToggleButtonTemplate(represents the button that expands the row and is of type GridViewToggleButtonfrom the Control Templates of the RadGridView as per the following article - Editing Control Templates.

    Marcus, what could be useful in your situation is to use only one RadTreeListView control and synchronize it with two RadGridViews in order to avoid changing the styles. I have attached a sample project which you can review and, if suitable, consider implementing at your end.

    Stefan Nenchev
    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
Back to Top