Maxheight on container?

Is it possible to set the tree container to use “max-height” instead of “height”? Currently this will set max-height on the container correctly, however the height of the tree itself will not respect the max-height prorperty (the tree extends outside the container):

I’m trying to avoid adjusting the height every time a node is expanded/collapsed.

Thanks,

  • David

Hi,

tree occupies the whole container where it is initialized. Therefore you need to the set the desired sizes for the container initially.

Is it possible to set the tree container to use “max-height” instead of “height”?

We have not tested this property. However, if you’ve faced with the problem, probably it is impossible.