Skip to content

dynamical update of VTreeview #115

Answered by jourdain
azatslyamov asked this question in Q&A
Discussion options

You must be logged in to vote

For me that code is working

from trame.app import get_server
from trame.ui.vuetify import SinglePageWithDrawerLayout
from trame.widgets import vtk, vuetify, html

# -----------------------------------------------------------------------------
# Trame setup
# -----------------------------------------------------------------------------

server = get_server()
state, ctrl = server.state, server.controller

# -----------------------------------------------------------------------------
# Tree View
# -----------------------------------------------------------------------------

import itertools

newid = itertools.count().__next__
itms = (
    "treeview_items",
    [
        {
            "id": n…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@azatslyamov
Comment options

Comment options

You must be logged in to vote
3 replies
@azatslyamov
Comment options

@jourdain
Comment options

@jourdain
Comment options

Answer selected by azatslyamov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants