We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scroll to top or bottom

Thread ID:





145954 Jul 15,2019 08:09 PM UTC Jul 16,2019 11:21 AM UTC UWP 1
Tags: SfDataGrid
AAA Test User
Asked On July 15, 2019 08:09 PM UTC

How do I programtically scroll the grid to the top or bottom or the current filtered view?

Farjana Parveen Ayubb [Syncfusion]
Replied On July 16, 2019 11:21 AM UTC

Hi Van Ice, 
We have analyzed your requirement “Programmatically scroll the DataGrid” in UWP. You can achieve this by ScrollInView method. You can scroll programmatically to particular cell using ScrollInView method by passing row and column index. Please refer the below code snippet, 
int rowIndex = this.dataGrid.GetLastDataRowIndex(); 
int columnIndex = this.dataGrid.GetLastColumnIndex(); 
this.dataGrid.ScrollInView(new RowColumnIndex(rowIndex, columnIndex)); 
Farjana Parveen A 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon