-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Adding row number column for QTable #6828
Comments
Hi, In general, we'd rather have only bugs and suggestions as issues in the repos. So, please use either the forum or the discord channel for questions. You'll get answers there for sure. Please just have some patience. And, if we come to the conclusion, your issue is a bug or a good suggestion, we'll ask you to then add an issue here. Thanks. 😄 Scott |
Hi, i will take my chance on the quasar forum 😄 Thanks. |
I've changed my panned text for the future. See above. 😄 Scott |
I'd like to think about this for some time - reopening for checking in the code. |
@ryhn I think @pdanpdan has 3-4 full time jobs worth of work. ;) This is my hack that perhaps does what you're looking for? It uses CSS Counters, which I haven't tested much on different browsers/platforms. (I'm Chrome most of the time). Maybe this is a temp solution for you? Just trying to give back to the community. In case the pen disappears here is the relevant code... for the
And then all you need is an entry in the
And that's it! |
Hi, @rfox12 this is a good solution. I will try this. Thanks. |
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
…s for item, body, body-cell and body-cell-[name] quasarframework#6828
There's gonna be "rowIndex" and "pageIndex" in the sorted and filtered table available in "quasar" v1.10.0. |
I would have liked to make use of this to access the previous row in the data array, but apparently one does not have access to the sorted & filtered table data itself, right? |
There's a computed prop on the QTable instance named |
Hi,
How can I add row-number column to QTable.
No matter which column sorted, row-number column value must be 1 to data.length
Thanks.
The text was updated successfully, but these errors were encountered: