ember-timetree icon indicating copy to clipboard operation
ember-timetree copied to clipboard

Is there a way to default the rows as collapsed?

Open csprocket777 opened this issue 10 years ago • 1 comments

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?

csprocket777 avatar Nov 04 '14 22:11 csprocket777

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);
});

john-kurkowski avatar Nov 05 '14 01:11 john-kurkowski