Scrollbar scenario I cannot make with a grid
Hello all!
I want to build a grid with only the vertical scrollbar, but I want it to be disabled if there aren't enough rows and enabled otherwise.
I have tried this
but when the scrollbar must be disabled appears only a white strip, when the scrollbar is needed it appears just ok.
I've seen also that if I put "both" instead of vertical, I can obtain a vertical scrollbar that is disabled and enabled, but I also have the horizontal scrollbar which I don't want. I've tried to hide it but with no result.
Perhaps you can give me a hint. Thank you!
I want to build a grid with only the vertical scrollbar, but I want it to be disabled if there aren't enough rows and enabled otherwise.
I have tried this
obj.setScrollBars('vertical');
obj.onScrollBarsChanging = function(){return 1};
but when the scrollbar must be disabled appears only a white strip, when the scrollbar is needed it appears just ok.
I've seen also that if I put "both" instead of vertical, I can obtain a vertical scrollbar that is disabled and enabled, but I also have the horizontal scrollbar which I don't want. I've tried to hide it but with no result.
Perhaps you can give me a hint. Thank you!
John
July 15,