A row index of SfDataGrid which keeps track of the row index while exporting.
SfDataGrid
int rowIndex = 0;