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

Cells Selection and Node expansion

2 Answers 53 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 24 May 2011, 03:17 PM
Hello,

I'm using RadTreeLiestView with SelectionMode property set to Multiple and SelectionUnit property set to Cell. I've noticed that when user expands or collapse some node, selection is lost, that's after a node expand/collapse SelectedCells property on TreeListView is empty.

I'm providing users with a toggle button, when checked, TreeListView enters in a "selection model", that's settiing SelecctionMode to Multipe and SelectionUnit to Cell, when unchecked, SelectionMode is set to "Single" and SelectionUnit is set to FullRow. Users would like to collapse/expand node to locate those cell they want to select.

Is there any way to accomplish this requirement?

2 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 25 May 2011, 12:23 PM
Hi DanĂ­,

Unfortunately at the moment there is not way to change this behavior. We will try to improve this in the future but right now I cannot share any specifics.  


Kind regards,
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
Daní
Top achievements
Rank 1
answered on 25 May 2011, 12:53 PM
Hi Milan,

Thanks for your response. I've tried to develop a behavior for the RadTreeListView. This behaviors subscribes to RowIsExpandedChanging and RowIsExpandedChanged events. When first event is handled, this behavior stores the current selected cells (I'm working with SelectionUnit property set to Cell). Then when RowIsExpandedChanged event is handles, the behavior restores cell selected with the stored values. Right now this behavior is not working as I expected, when I collapse a row (node) the behavior can keep selected those cells not present in collapse node hierarchy, but when expanding the row again, previously selected cells in the row hierarchy are not longer selected, RadTreeListView has lost them.

Any Idea?
Tags
TreeListView
Asked by
Daní
Top achievements
Rank 1
Answers by
Milan
Telerik team
Daní
Top achievements
Rank 1
Share this question
or