widgetti / widgetti/solara

Custom format DataTable cells depending on their values

Open
#970 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.2k
Forks
202
Avg merge
4h 36m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the ipyvuetify DataTable and its v_slots argument; start by locating Solara's DataTable API and existing v_slots examples. Done would be a documented, supported way to conditionally format cell backgrounds based on their values.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.