How to programmatically scroll GridTreeControl to node
Hi Murad,
Thanks for contacting Syncfusion Support.
We have analyzed your query. In GridTreeControl you can programmatically scroll the GridTreeControl to particular node like the below code example,
Code Example [C#]
|
{ InitializeComponent(); this.treeGrid.Loaded += treeGrid_Loaded; }
void treeGrid_Loaded(object sender, RoutedEventArgs e) { treeGrid.InternalGrid.ScrollInView(new RowColumnIndex(30, 3)); } |
We also we have the following methods in GridTreeControl to perform the scrolling operations,
|
Methods |
|
|
|
|
|
|
|
|
Regards,
Sowndaiyan
In GridTreeControl, the Node denotes the each Row. So you can only get the corresponding RowIndex using the Node and you have to use the column index manually. And perform the scrolling operation based upon that specific RowColumnIndex like the below code example.
Code Example [C#]
|
|
Regards,
Sowndaiyan
- 3 Replies
- 2 Participants
-
MU Murad
- Dec 28, 2015 10:11 AM UTC
- Dec 30, 2015 02:02 PM UTC