Show vertical scrollbars all the time

Hello,



I have a TreeGrid where I leave a space between the last column and the edge of the gridbox container to allow for the vertical scrollbar to appear when the content is too long. This makes it so the horizontal scrollbar does not appear when the vertical scrollbar appears.



This looks strange though because the column header background appears all the way across the gridbox with nothing under it until the vertical scrollbar appears.



Is it possible to always display the vertical scrollbar without the slider so there’s a consistent look?



Thank you.

You can add next line to made vertical scroll always visible

    grid.objBox.style.overflowY=“scroll”;

Also, you can try to define the width of last column as  * - it will force column auto-size, so it will automatically decrease when vertical scroll appears.

That worked perfectly. Thank you.