-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataGrid: expose row index #15909
DataGrid: expose row index #15909
Conversation
You can test this PR using the following package version. |
|
@cla-avalonia agree |
You can test this PR using the following package version. |
What are the performance implications if you insert or remove the first row of a 100k row |
It should affect only rows that are currently materialized. |
What does the pull request do?
Make DataGridRow.Index public get-able.
What is the current behavior?
It's hard to show row number.
What is the updated/expected behavior with this PR?
User can use below binding to show row index.
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
I think no.
Obsoletions / Deprecations
GetIndex
method is obsoleted, should be replaced byIndex
propertyFixed issues