Hi Tom,
To have numbered row headers in GridDataBoundGrid, you need to handle the PrepareViewStyleInfo Event.
The code below will help you to accomplish your task. Please refer to the Sample attached for this.
// Form load
this.gridDataBoundGrid1.Model.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header";
//PrepareViewStyleInfo Event
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
e.Style.Enabled = true;
e.Style.Text = string.Format("{0}",e.RowIndex);
e.Style.Font.Bold = false;
}
Thanks,
Rajagopal
RowHeaders.zip