PrimeNg dropdown in tree-table auto scroll based on dropdown in the bottom of the page

637 views Asked by At

I am implementing dropdown in primeng treetable and bottom of the page the dropdown is hiding below the panel. How can make it auto adjust. Scroll automatically and so that user can see the dropdown.

Note: Table is wrapped with bootstrap pannel.

1

There are 1 answers

0
Abdullah Hashim On
<p-dropdown appendTo="body"> </p-dropdown>

It works for me