Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How to enable a vertical scrollbar inside a group with tree layout

$
0
0

@pistolShrimp wrote:

I have a group which is a tree structure. Since I am fetching records from server during load, it displays a long tree without scrollbar. My requirement is that I want to restrict the height of my panel (containing all my tree nodes) and provide scroll bar if in case it exceeds the height.

I tried allowVerticalScroll: true, but this property is applicable only for diagram and i just want the scrollbar only for that panel.

Also, when I try to create a link between two nodes between two such trees, and since it's the destination node is currently not visible, i want an auto scroll kind of functionality for that panel. Like if I drag the link, the scroll bar goes up and the nodes at the bottom become visible so that link can now be formed.

Hope I am clear in explaining my requirement.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles