Skip to content
This repository has been archived by the owner on May 4, 2021. It is now read-only.

Is there a way to default the rows as collapsed? #6

Open
csprocket777 opened this issue Nov 4, 2014 · 1 comment
Open

Is there a way to default the rows as collapsed? #6

csprocket777 opened this issue Nov 4, 2014 · 1 comment

Comments

@csprocket777
Copy link

I'd rather have my user expand what they want to look at versus having them all expanded by default. Any option I can toggle for this behavior?

@john-kurkowski
Copy link
Contributor

There are a ton of options, but that is not one of them! Seems like a reasonable one to add.

A workaround in the meantime might involve calling TimetreeView.toggleNode after initial render. I haven't given it a try.

topLevelNodes.forEach(function(n) {
  view.toggleNode(n);
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants