How to dynamically adjust height in Angular ui-grid Treeview?
问题 I was looking at the following example of treeview using Angular 1.5: link In the css section it specifies a fixed height for .grid as follows: .grid { width: 500px; height: 500px; } Is there a way of dynamically adjusting this height according to how a tree node is clicked to expand? The relevant documentation for treeview is here. However, the example shown there also has a fixed height, which I would like to change to dynamic height. 回答1: I managed to find a solution by implementing