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

RadGrid Hieght

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Moustafa
Top achievements
Rank 1
Moustafa asked on 25 Aug 2008, 06:18 PM
Hi

I post this question several times but with no answer

I'd like to prevent the vertical bar from rendering. or I'd like to create dynamic grid that stretching according to its content and prevent vertical bar from being appear



better I'd like to understand how can I do what you described in the online demos in the following 

"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."

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 26 Aug 2008, 05:05 AM
Hello Moustafa,

To avoid the vertical scroll bar you have to ensure that the Grid's Height property is set to a value lesser than the Scroll Height value as shown below.
aspx:
<telerik:RadGrid ID="RadGrid1" Height="300" AllowPaging="true" PageSize="8" runat="server" > 
     <MasterTableView>  
         ....       
     </MasterTableView> 
     <ClientSettings> 
        <Scrolling AllowScroll="true" ScrollHeight="310" /> 
     </ClientSettings>         
</telerik:RadGrid> 

Thanks
Princy.
Tags
Grid
Asked by
Moustafa
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or