This is a migrated thread and some comments may be shown as answers.

Hiding But Not Disabling Scroll

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John S.
Top achievements
Rank 1
John S. asked on 14 Oct 2011, 01:14 AM
Hello,

I have two RadGrids, g1 and g2, on a page and both have vertical scrollbars. The g1 scrollbar controls the vertical scroll of g2. I would like to hide the vertical scrollbar in g2 but not disable the scrolling.

How is this accomplished?

Thanks,
John S.

1 Answer, 1 is accepted

Sort by
0
John S.
Top achievements
Rank 1
answered on 14 Oct 2011, 02:31 AM
I figured out what I was looking for.

In case it is helpful to anyone else....

I created this style on the page and assigned CssScrollHide to the g2 grid's CssClass 

<style type="text/css">
       .CssScrollHide .rgDataDiv
       {
           overflow-y: hidden !important;
       }
   </style>
Tags
Grid
Asked by
John S.
Top achievements
Rank 1
Answers by
John S.
Top achievements
Rank 1
Share this question
or