TreeView - get id of active node #802
-
Hello,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
To get your python def test(active):
print(active)
vuetify.VTreeview(
...,
update_active=(test, "[$event]"),
...,
) Read more about methods binding here: https://kitware.github.io/trame/guide/intro/cheatsheet.html#method-binding |
Beta Was this translation helpful? Give feedback.
-
Also are you sure you want to use vuetify2/vue2 ? It seems like you are looking at the v3 API for the v2 library... |
Beta Was this translation helpful? Give feedback.
To get your python
test()
function be passed the active array parameter from the client modify your code like so:Read more about methods binding here: https://kitware.github.io/trame/guide/intro/cheatsheet.html#method-binding