Row Indexing

Hi, Is it possible show row number in the RowHeader using GridDataBoundDrid. And column header should not contain row number. Please tell me is there any property through which I can achieve such functionality.

Regards,

1 Reply

JS Jeba S Syncfusion Team June 25, 2007 01:56 PM UTC

Hi Ali,

To get the numbered row headers, please try setting these properties:

this.gridDataBoundGrid1.Model.Options.NumberedRowHeaders = true;
this.gridDataBoundGrid1.BaseStylesMap["Row Header"].StyleInfo.CellType = "Header";


Kindly let us know if this helps.

Best Regards,
Jeba.

Loader.
Up arrow icon