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

Aviod vertical RadGrid

3 Answers 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
satya
Top achievements
Rank 1
satya asked on 04 Jul 2009, 06:28 AM

Hi,

How to avoid only vertical scroll bar in the rad grid. 
My rad grid  has 10 columns in the grid and i set AllowScroll=false 
in the ClientSettings. When radgrid has loaded with the data, i could not see the veritical scroll bar. This is ok for me. But now i could not see the horizontal scroll bar also. Because of this i could see only 5 columns of the grid. Remaining 5 columns are missing. 

I need to avoid only vertical scroll bar of the grid not horizontal scroll bar.


Please sugguest.

Thanks 
Satya.
 

3 Answers, 1 is accepted

Sort by
0
Kenneth
Top achievements
Rank 1
answered on 04 Jul 2009, 02:40 PM
You can put the grid into a div and let the div handle the horizontal scrolling. Just set the div with styles:

overflow: auto;
overflow-y: hidden;

Regards,
Ken
0
Shinu
Top achievements
Rank 2
answered on 06 Jul 2009, 05:04 AM
Hi Satya,

Try setting the AllowScroll property of the Grid to true. In order to display horizontal scroll for navigation, you need to make sure that the total width of the columns (either auto-generated or declaratively set) exceeds the width of the grid (as demonstrated in the online demo itself).  Moreover, to render merely the horizontal scroll and avoid the appearance of the vertical scroll, make sure that the height of the records in the grid does not exceed the ClientSettings -> Scrolling -> ScrollHeight scroll setting.  Refer the following online demo for getting more details about the Scrolling feature in Grid.
Scrolling

Thanks
Shinu





0
satya
Top achievements
Rank 1
answered on 06 Jul 2009, 01:04 PM
Hi Ken,

Thank you very much for your reponse. It got resolved in IE 7.0, but still problem in IE 6.0 . I hope overflow property will not support in IE 6.0

Can you please suggest me how can i resolve this in IE 6.0 also?


Regards,
Satya.
Tags
Grid
Asked by
satya
Top achievements
Rank 1
Answers by
Kenneth
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
satya
Top achievements
Rank 1
Share this question
or