You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Is there a way to add a row number to a v-datatable? I know that I could use the index but I actually don't want to have the row-number scoped to the item but rather have a fixed value. As soon as you apply sorting the row numbers are mixed up (check screenshots).
Could it be possible to expose this in the scoped slot as well ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Is there a way to add a row number to a v-datatable? I know that I could use the index but I actually don't want to have the row-number scoped to the item but rather have a fixed value. As soon as you apply sorting the row numbers are mixed up (check screenshots).
Could it be possible to expose this in the scoped slot as well ?
Eg when using index +1
Sorting by name:
Expected:
Beta Was this translation helpful? Give feedback.
All reactions