Data Table - row class?
-
Is there a way to set the css class for a row based on the row’s data object?
-
@glittle For the entire row currently no.
-
This would be really nice (fwiw)
-
Will do.
-
@glittle - would you be so kind and start an issue for this suggestion?
https://github.com/quasarframework/quasar/issues/new
Scott
-
-
I am interested in this too. @glittle: were you able to come up with a workaround, like styling all cells in a row independently?
-
DataTable revamp is scheduled soon. Will include all DataTable github tickets currently opened.
-
Glad to hear that the revamp will include this!
@lvaylet I simply rolled my own table with the rows how I needed them.
-
@glittle: makes sense, thank you. I do not need all the features of the DataTable (like sorting and filtering) for my current project. I might be better off rolling my own table with a simple v-for too. I am still interested in this revamped version for other projects though.
@rstoenescu: any estimate on what “soon” means?A few days? A few weeks? I know it is hard to tell. No pressure. I am just assessing whether I should work on other projects in the mean time.
-
from what I’ve seen and heard, I’d say a couple of weeks + a few days
-
Is it possible to add classes to rows yet? I actually want to add data attributes to the rows.