-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
feat(VDataTable): index prop in item* slots #12605
Conversation
Is this the index in the table, or the index in |
in |
That's a breaking change then, although the current behaviour seems pretty useless so I don't know if it would even affect anyone.
Does it account for sorting? |
No, I'm not sure if it's even possible (especially with server side data). I think if someone wants to take sorting/filtering into account he should just put
So is "Reset/clear on inputs" already in 2.4, which imho may have bigger impact than this. As I mentioned before it would be safe to add another property ( |
More so that you can do something like Looking at #10646 and #8199 it seems like they would want what you've done here, but maybe without the pagination? "select the first item on the table" and "specify tabindex" probably want the index in the page, "a column with row index" could be either really. |
Description
Adds
index
toitem
,item.<name>
,expanded-item
slotsMotivation and Context
fixes #10646
How Has This Been Tested?
playground
Markup:
Types of changes
Checklist:
master
for bug fixes and documentation updates,dev
for new features and backwards compatible changes andnext
for non-backwards compatible changes).