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 set current cell on particular row when DataGrid loaded?

Platform: UWP |
Control: SfDataGrid |
Published Date: January 22, 2016 |
Last Revised Date: January 22, 2016 |
.NET Framework: 4.5 |
Product Version:

SfDataGrid is loaded without any row or cell selection. When SelectionUnit property is set to Row then the row can be selected by setting SelectedIndex or SelectedItem property.
You can select the CurrentCell by invoking SfDataGrid.MoveCurrentCell method.
MoveCurrentCell method accepts two arguments as follows,

  • RowColumnIndex – It receives CurrentCell of RowIndex and ColumnIndex.
  • NeedToClearSelection – It’s optional parameter and Boolean type. When the parameter is ‘true’, clear all the selection in view and then move to CurrentCell when SelectionMode property is set to Extended. When it is ‘false’ select only the CurrentCell.


For Silverlight:

In Silverlight, move current cell selection is achieved by handling ItemsSourceChanged.

Refer the following code example.



Here, the CurrentCell is selected based on RowIndex of 5th record in OrdersDetails collection and 4th ColumnIndex by using MoveCurrentCell method.

Sample Links:





2X faster development

The ultimate UWP 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