I have an HTML textarea that is of fixed width, but variable height. I would like to set overflow:scroll and be able to show a vertical scrollbar, but not a hor
overflow:scroll
Use CSS. It's easier and faster than javascript.
overflow-x: hidden; overflow-y: scroll;
For me:
.ui-jqgrid .ui-jqgrid-bdiv { position: relative; margin: 0; padding: 0; overflow-y: auto; <------ overflow-x: hidden; <----- text-align: left; }
Of course remove the arrows