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

How do you set the treelistview to have nothing selected?

2 Answers 66 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 25 Oct 2010, 02:51 PM
Hi,

I would like to have the treelistview not have a selected row (orange in the demo), and when you click in a cell or row to not change visually with the border around the clicked cell. How do you accomplish that? It seems that the control needs a SelectionMode="None" or when you flip the control to CanUserSelect="False" that it doesn't highlight the first row.

Is there something I am missing, or is this not possible with the current control?

Regards
Jim

2 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 25 Oct 2010, 02:57 PM

Hi James,

There was a bug in the SP2 release which caused RadTreeListView to select its first row automatically. If you upgrade to our latest Internal build the first row should not be selected by default. If you are using ICollectionView as ItemsSource you should also set IsSycnhronizedwithCurrentItem to false.

Hope this helps.



Sincerely yours,
Milan
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
James
Top achievements
Rank 1
answered on 25 Oct 2010, 03:15 PM
Thanks that worked.

Regards
Jim
Tags
TreeListView
Asked by
James
Top achievements
Rank 1
Answers by
Milan
Telerik team
James
Top achievements
Rank 1
Share this question
or