You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to ask if the following feature is available in ipyvuetify. What I want to achieve is to use the v_slots mechanism to pass data between widgets. The following is a simple example.
Let's assume we have a data table and we want to use buttons in one of the columns. With the ipyvuetify template widget this is achievable like this:
The output looks like this, the items in column A are displayed as buttons:
I'd like to replicate the same by using the existing DataTable and Btn widgets. Composing widgets in python would be much more flexible. Unfortunately, I was unable to figure it out how I could pass variables, in this case {{ btn.value }}, through v_slots.
The {{ ... }} syntax only works in the Vue template. In ipyvuetify we only support the passing of events in v-slots, so tooltips and menus are supported. Ipyvuetify can not support evaluating/executing javascript inside v-slots, so the template is the only option to support this.
Hi,
I'd like to ask if the following feature is available in ipyvuetify. What I want to achieve is to use the v_slots mechanism to pass data between widgets. The following is a simple example.
Let's assume we have a data table and we want to use buttons in one of the columns. With the ipyvuetify template widget this is achievable like this:
The output looks like this, the items in column
A
are displayed as buttons:I'd like to replicate the same by using the existing
DataTable
andBtn
widgets. Composing widgets in python would be much more flexible. Unfortunately, I was unable to figure it out how I could pass variables, in this case{{ btn.value }}
, throughv_slots
.As the image shows, the buttons are included in the table, but the labels on the buttons are not displayed properly.
Is it possible to obtain the same output as what I obtained with the template widget above?
The text was updated successfully, but these errors were encountered: