DataGrid: How to display a numbered row index as the first column? #4985
Unanswered
kg-github
asked this question in
Questions & Help
Replies: 1 comment
-
You can use the LoadingRow event to set row headers in code-behind and the Primitives package to customize the RowHeader background.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I thought this would be an easy one but there doesn't seem to be a built-in way to display a row index as the first column of a DataGrid. I have a simple collection of items that I would like to display row numbers for (starting at 1). Anyone have a suggestion?
Beta Was this translation helpful? Give feedback.
All reactions