I have a tree View with hierarchical data source which is located left side of the screen. The size of hierarchical data source is not known and it can overflow the page.
I want to scroll only treeView(not the whole page) and I can do it like that:
#treeView{
overflow-y: scroll;
height: 800px;
}
.html{
overflow: hidden;
}
However my code will be run several devices and I do not want to give a division static height. Is there a way to give height to a division after doing some calculations?