Currently, we are using Formatter.RowNumber as first column in datagrid so that it automatically show Row number for each record and remains consistent after sorting too. But with this data, when using ExportToExcel or ExportToCSV inbuilt functions of datagrid, the resulting exported file always shows Row Number field as max RowNumber value for all records.
For ExportToExcel to work consistently with what is shown in datagrid, this is must needed.
Issue needs to be created in GitHub. Closing ticket in Aha because no further action is needed on this platform.
Can you raise this bug here https://github.com/infor-design/enterprise/issues/new/choose with an example and steps to reproduce. I think i get what your saying but it would help to create a reduced test case and have a conversation on the issue.