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

Auto number column

Can I add an auto-number column in sfdatagridview? I want to number each row from 1 to n automatically and allocate the next number to a new row.

1 Reply

FP Farjana Parveen Ayubb Syncfusion Team January 24, 2020 05:57 AM UTC

Hi Tom, 
 
Thank you for using Syncfusion controls. 
 
We suspect that you need to add the column in SfDataGrid like below, this can be achieved by using RowHeader and SfDataGrid.DrawCell event in SfDataGrid. Please refer the below screen shot and UG link, 
 
 
 
 
If we misunderstood your requirement, please provide more information regarding the requirement. This would help us to proceed further. 
 
Regards, 
Farjana Parveen A 


Loader.
Up arrow icon