Syncfusion.SfDataGrid.XForms
Syncfusion.SfDataGrid.XForms Namespace > SfDataGrid Class : ScrollToRowColumnIndex Method
The destination row index to scroll.
The destination column index to scroll.
Boolean value indicates whether this method is called for key navigation progress
Determines the position of the scrolled row in the datagrid. The default value is Xamarin.Forms.ScrollToPosition.Start.
Determines the position of the scrolled column in the datagrid. The default value is Xamarin.Forms.ScrollToPosition.Start.

ScrollToRowColumnIndex Method

Scrolls the SfDataGrid to given row and column index. SfDataGrid scrolls to the given column index, next to the row header column, if ShowRowHeader is set as true.
Syntax
public void ScrollToRowColumnIndex( 
   int rowIndex,
   int columnIndex,
   bool canAnimate,
   Xamarin.Forms.ScrollToPosition scrollToRowPosition,
   Xamarin.Forms.ScrollToPosition scrollToColumnPosition
)

Parameters

rowIndex
The destination row index to scroll.
columnIndex
The destination column index to scroll.
canAnimate
Boolean value indicates whether this method is called for key navigation progress
scrollToRowPosition
Determines the position of the scrolled row in the datagrid. The default value is Xamarin.Forms.ScrollToPosition.Start.
scrollToColumnPosition
Determines the position of the scrolled column in the datagrid. The default value is Xamarin.Forms.ScrollToPosition.Start.
Remarks
SfDataGrid supports programmatic scrolling. The user can scroll to the required row and column by using this method.
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.1451.0.47

See Also