widgetti / ipyvuetify

Jupyter widgets based on vuetify UI components
MIT License
348 stars 59 forks source link

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

Open antoineedy opened 1 year ago

antoineedy commented 1 year ago

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.