Tree width 100% help

I want the treeview to be 100% width of the container / page / parent, but when I set the width of the div to 100% the treeview will change it’s width to be more than 100% if the nodes are too large vs. adding a vertical scroll bar.

However if I define the width it will not change and add a vertical scroll bar as needed.

Is there a quick fix or another way to do this? Thanks!

How do you see this 100% width to a tree? Coul you provide an image?
Ot you mean 100% width node selection/highlighting?