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

Custom format DataTable cells depending on their values #970

Open
PiaSchroeder opened this issue Jan 16, 2025 · 0 comments
Open

Custom format DataTable cells depending on their values #970

PiaSchroeder opened this issue Jan 16, 2025 · 0 comments

Comments

@PiaSchroeder
Copy link

Hi,

I am trying to change the background color of cells in a DataTable depending on their value (e.g. mark all cells containing zeros in red). I have attempted to use the ipyvuetify DataTable and set the v_slots argument but I could not find documentation on how to alter formatting conditional on the cells' values.
Is there a recommended way of achieving this?

Thanks a lot,
Pia

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

1 participant