Hi Tony,
You can use the same method SfDataGrid.ScrollInView(RowColumnIndex)
to scroll the datagrid programmatically based on that specified row and column
index value. We thought that you have specified the row and column index value
which is not already visibled in the grid. Please refer the below code snippet,
Code snippet:
private void Button_Click_1(object sender, RoutedEventArgs e)
{
for (int i = 0; i < 500; i++)
{
this.datagrid.ScrollInView(new
Syncfusion.UI.Xaml.ScrollAxis.RowColumnIndex() { RowIndex = i, ColumnIndex = 3 });
}
}
|
Please let us know if you have
any other queries.
Regards,
Akila
Attachment:
ScrollSample_3c3b3171.zip