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

How to make SfDataGrid scroll like an excel sheet?

Platform: Xamarin.Android |
Control: SfDataGrid
Tags: scrolling

SfDataGrid provides three types of scrolling mode which can be customized using the SfDataGrid.ScrollingMode property. By default, the SfDataGrid will scroll its content based on pixel values.

  • PixelLine
  • Line
  • Pixel


When SfDataGrid.ScrollingMode is PixelLine, the SfDataGrid will scroll its contents like an excel sheet. i.e., whenever a row or a column is clipped on the top, the particular row or column will be auto scrolled to display fully in view.



Line Scrolling

When SfDataGrid.ScrollingMode is Line, the SfDataGrid will scroll its contents based on lines. i.e., the view will be updated only when the offset values reaches the origin of a row or column in the bound collection.



























Pixel Scrolling

When SfDataGrid.ScrollingMode is Pixel, the SfDataGrid will scroll its contents based on pixel values. i.e., the view will be updated each pixel change of the offsets and rows or columns will appear clipped when offset exceeds the origin of the row or column.



2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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