ShowRowHeader Property

Gets or sets a value indicating whether to include the row header or not. By default, nothing will be displayed in the row header. However, when property is set, SfDataGrid loads the given template as the Content of the row header cells.
public bool ShowRowHeader {get; set;}

Property Value

True if row header is visible, otherwise false. The default value is false.
To include the RowHeader column to SfDataGrid, you need to set the ShowRowHeader to true. Initially when you set the SfDataGrid.ShowRowHeader = true, you will be able to see empty cells in front of the rows. SfDataGrid enables the user to set the Content and the view to be loaded in the RowHeader by using RowHeaderTemplate property.
dataGrid.ShowRowHeader = true;

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also