This is a migrated thread and some comments may be shown as answers.

Hidding the indent cell column or indicator

1 Answer 61 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Marcus
Top achievements
Rank 1
Marcus asked on 22 Oct 2015, 11:28 AM

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

Marcus

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 27 Oct 2015, 09:45 AM
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.

Regards,
Stefan Nenchev
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
Tags
TreeListView
Asked by
Marcus
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or