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

expanding a certain row

1 Answer 72 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 19 May 2016, 09:07 AM

Hi,

 

i understand that when a new row is added somewhere in the tree, the new row is added to the bottom.

to get around this i re-bind the tree to the update source, and am now trying to see if i can expand to the part of the treelistView where the new item it located.

i can interactively expand to the spot in the tree and find the newly created row.  

the customer does not want to do this however as there may be too much data.

i need a way to do this in the code-behind.

is there a way?

 

Thanks in advance,

John

 

 

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 20 May 2016, 10:26 AM
Hello John,

You can try using the ScrollIndexIntoViewAsync method. Please check the Scrolling help article for a reference. 

Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
TreeListView
Asked by
John
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or