How do you set the treelistview to have nothing selected?

3 posts, 0 answers
  1. James
    James avatar
    6 posts
    Member since:
    Oct 2010

    Posted 25 Oct 2010 Link to this post

    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. Milan
    Admin
    Milan avatar
    1989 posts

    Posted 25 Oct 2010 Link to this post

    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
  3. DevCraft banner
  4. James
    James avatar
    6 posts
    Member since:
    Oct 2010

    Posted 25 Oct 2010 Link to this post

    Thanks that worked.

    Regards
    Jim
Back to Top