widgetti / widgetti/ipyvuetify

A way to trigger an event when selecting a v.DataTable row

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

Nobody has claimed this yet.

Dominant language
Python
Stars
355
Forks
61
PR merge metrics
No merged PRs in 30d

Description

I've been using ipyvuetify for a while now, and I find it really extraordinary. I wondered if there is a way of triggering an event when selecting a v.DataTable row : data_table.on_event('click:row', fct) does not seem to work (neither click, change nor update).
Capture d’écran 2023-06-27 à 12 58 36

In the meantime, I understood that it is not possible to add different widgets - such as v.Chip - in a table, if we want each of them to be different, and if we want to use Python only. Am I wrong ? I managed to do something like it my playing with the layout, as you can see on the screenshot!

Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the v.DataTable example with Python and data_table.on_event('click:row', fct), then compare the available event behavior with the reported click, change, and update attempts. Done means establishing whether row selection can trigger a Python callback and whether distinct widgets such as v.Chip can be used in table rows with Python only.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.