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

RAD GRID AGAIN

1 Answer 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 11 Oct 2013, 04:18 PM
i have this code

<div style="width:100%; height:100%;">
<table style="height:100%; width:100%;" border="0" cellspacing="0" cellpadding="0">
    <tr style="height:100%; width:100%;">
        <td style="height:100%; width:100%;">
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" Height="100%" DataSourceID="SqlDataSource1" GridLines="None" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True">
    <ClientSettings>
        <Scrolling AllowScroll="True" UseStaticHeaders="true" ></Scrolling>
    </ClientSettings>
 
    <MasterTableView AutoGenerateColumns="True" DataKeyNames="ID" DataSourceID="SqlDataSource1" >
        <Columns>
            
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
            </td>
        </tr>
</table>  
    </div>

what i want is that the rad grid can get a horital and vertical scroll bar and static header and footer nasd the columns dont get on each other i tried many thing but nothing worked. Can anybody help.

Best Regards.
Carlos Sequeira

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 15 Oct 2013, 12:28 PM
Hello Carlos,

In order for the horizontal and vertical scroll bars to appear, the width and the height of the RadGrid should be smaller than the necessary size.

I have slightly modified the provided code snippet and both scrolls appear without any issues. Please refer to the attached sample page and see if it fulfills your requirements.

If the issue persists on your end, please try to update to our latest RadControls version and see if it helps.

 

Regards,
Konstantin Dikov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Carlos
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or