PDA

View Full Version : make ExtJs grid Vertical scrollbar permanent



hirendave
28 Dec 2010, 5:46 AM
Hello,

I have grid panel with autoScroll :true. It will display the scrollbar if number of rows exceeds the height of the grid. What I want is to make vertical scrollbar permanently visible irrespective of the number of rows. Is that possible?

Condor
28 Dec 2010, 6:18 AM
With css.

.x-grid3-scroller {overflow-y: scroll;}
Disclaimer: Completely untested code!

hirendave
28 Dec 2010, 6:19 AM
Thanks for your reply. I will check it.

hirendave
28 Dec 2010, 6:45 AM
Thanks this code works.