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

[Solved] How to hide Horizontal scrollbar in the radGrid

2 Answers 538 Views
Grid
This is a migrated thread and some comments may be shown as answers.
First
Top achievements
Rank 1
First asked on 19 Nov 2009, 09:53 AM
Hi there,

I have hierarchical radGrid (2 level) and I set the Scrolling AllowScroll=True, UseStaticHeaders = True.
The issue that I have is the Horizontal scrollbar always appear eventhough the total width for the column is 100%.
I'm using percentage instead of the fixed width. I tried to change the total width to less 100%, the result was equally bad.

Since this grid is inside the ajax update panel, when an ajax request was made, suddenly the horizontal re-adjusted and disappeared.
Is there a way to hide the horizontal scrollbar?

 I'm using version 2009 Q2.

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 19 Nov 2009, 12:12 PM
Hi,

You can try out the following css code to hide the horizontal scroll bar in the grid:
aspx:
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server"

css:
<style type="text/css"
    #RadGrid1_GridData  
    {  
       overflow-x:hidden !important;  
    }        
</style> 

Thanks
Princy.
0
First
Top achievements
Rank 1
answered on 20 Nov 2009, 09:32 AM
Thanks Princy,
You idea works in a away. But I realized the issue is with my RadSpliiter.
I'm still trying to fix it.
The strange thing it works perfectly in 2009 Q3.


Tags
Grid
Asked by
First
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
First
Top achievements
Rank 1
Share this question
or