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

How to set isExpanded = false when applying filtering programmatically..

1 Answer 74 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 03 Feb 2011, 04:13 PM
Hi,
I'm trying to apply filter in the rad tree list view, but i want one thing to not to be happend.

Please find the attached image of my result after filtering.

In the image i applied filter to "Project Technical Leaders" including its only next childs.

Now, what I want is that, its child should not be expanded.
i.e.
SrMgr_SRMgr13
SrMgr_SRMgr10
SrMgr_SRMgr9
should be visible only in collapsed form.
Because if we expand them, it take a lot of time to fetch data for all the child, but as filtering is applied, that data is not visible.

Please help me as soon as possible.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Feb 2011, 04:20 PM
Hello,

 You can use RadTreeListView CollapseHierarchyItem() method to collapse specific data item.

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
TreeListView
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or