Is there an easy way to have the DIV that the tree resides in resize if the window is resized? Here’s an example: msdn.microsoft.com/en-us/library/default.aspx
You can see that when the window resizes, the tree area resizes vertically to fill the window.
Actually, you can define the width and height of tree container in percents - it will resize as any normal HTML element. There is no need to any special commands.