widgetti / widgetti/ipyvuetify
A way to trigger an event when selecting a v.DataTable row
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).
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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