Skip to content
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

Is there a slot for a complete row? #357

Open
thepurpleblob opened this issue Mar 14, 2024 · 2 comments
Open

Is there a slot for a complete row? #357

thepurpleblob opened this issue Mar 14, 2024 · 2 comments

Comments

@thepurpleblob
Copy link

...or to ask the question I want an answer to... can I style selected rows? I want certain rows where data in that row has certain values to have a different background color.

Thanks

@douglasg14b
Copy link

douglasg14b commented Apr 8, 2024

Same question here, I want to control the style for full rows. Control the selected styling, do a ripple on click....etc

There doesn't appear to be any class for selected rows, so unable to target that for styling :/

@universityofglasgow
Copy link

I did find a way. It's not a slot, there's a callback you can specify that defines the class for a row programmatically.

It's one of those "if you didn't know, you wouldn't know to look for it" things.

https://hc200ok.github.io/vue3-easy-data-table-doc/features/class-name-customization.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants