Hi,
I tried to use JavaScript TreeView setting overflow:auto of
container div, so scrollbars are shown as needed, but when
I reduce the width of the TreeView (or the width of the TreeView
div container, for example using a split panel) the fullrow that
select every list item both on hovering and selecting overlaps
the scrollbars which are no longer accessible.
How can I get the scrollbars accessible ?
Thank You for help.
Alberto
Hi,
Sorry for delay.
Yes, I have modified the example you provided to new link: the new example
is closer to my project.
https://stackblitz.com/edit/h2nve6-ecb6y6?file=index.html
If I increase the height of the vertical panel the horizontal scrollbar of the TreeView
still remains below the Tree, but I would that it follows the new size of
the panel and it is positioned to the bottom of the panel (The same thing
for the vertical scrollbar to the right of the panel).
How can I do ?
Thank you in advance.
Alberto.
|
<div>
<div class="expand-content"
style="overflow: auto; height: 100%; width: 100%">
<!-- Initialize TreeView -->
<div id="tree"></div>
</div>
</div>
<style>
.custom-tree {
display: inline-table;
height: 100%;
width: 100%;
} |
Hi Indhumathy,
It works very well, thank you very much.
Best Regards.
Alberto Monteverdi.