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

Rad Hierarchical Grid Horizontal Scrolling Issue

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
vinoth
Top achievements
Rank 1
vinoth asked on 26 Aug 2011, 09:11 AM
Hi,
  I have issue relating to hierarchical Rad Grid Horizontal Scrolling in below given code.

<telerik:RadGrid ID="gvFilteredResults1" runat="server" ShowStatusBar="True"
                                                                            AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True" OnDetailTableDataBind="gvFilteredResults_DetailTableDataBind"
                                                                            AllowCustomPaging="True" OnPageIndexChanged="gvFilteredResults_OnPageIndexChanged"
                                                                            OnPageSizeChanged="gvFilteredResults_OnPageSizeChanged" OnPreRender="gvFilteredResults_OnPreRender"
                                                                            Skin="Office2007" OnSortCommand="gvFilteredResults1_OnSortCommand" meta:resourcekey="gvFilteredResults1Resource1" 
                                                                            GridLines="None">                                                                            
                                                                            <MasterTableView AllowMultiColumnSorting="True" DataKeyNames="Policy Number" 
                                                                                GridLines="Horizontal">
                                                                                <DetailTables>
                                                                                    <telerik:GridTableView runat="server" AllowCustomPaging="False" AllowPaging="False"
                                                                                        AutoGenerateColumns="True" BorderWidth="1px" GridLines="Both" meta:resourceKey="GridTableViewResource1"
                                                                                        Name="TransactionWise" AllowSorting="False" Width="95%">
                                                                                    </telerik:GridTableView>
                                                                                </DetailTables>
                                                                                <ExpandCollapseColumn Visible="True">
                                                                                </ExpandCollapseColumn>
                                                                                <Columns>
                                                                                    <telerik:GridTemplateColumn meta:resourcekey="GridTemplateColumnResource1" UniqueName="TemplateColumn">
                                                                                        <ItemTemplate>
                                                                                            <asp:CheckBox ID="chkPolicyNumber" runat="server" meta:resourceKey="chkPolicyNumberResource1" />
                                                                                        </ItemTemplate>
                                                                                        <HeaderStyle Width="3%" />
                                                                                    </telerik:GridTemplateColumn>
                                                                                    <telerik:GridBoundColumn DataField="Policy Number" HeaderText="Policy Number" meta:resourcekey="GridBoundColumnResource4"
                                                                                        UniqueName="Policy Number">
                                                                                    </telerik:GridBoundColumn>
                                                                                </Columns>
                                                                                </MasterTableView>
                                                                            <ClientSettings>
                                                                                <Scrolling AllowScroll="True" UseStaticHeaders="True"  />                                                                                
                                                                            </ClientSettings>
                                                                            <PagerStyle AlwaysVisible="True"></PagerStyle>
                                                                        </telerik:RadGrid>


Actually i have added 20 columns in child grid but i'm able to see only 14 columns (based on screen REsolution) , rest of the columns are inside that grid. If i get scrolling to that Child grid then i'm able to see those columns properly. But there are no property to enable scrolling for detailed Table view. Ultimately Horizontal scrolling is not at all working for Parent Grid also. Can you suggest me how to Enable Horizontal Scrolling

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 26 Aug 2011, 01:49 PM
Hello Vinoth,

Please check out the following code library submission which shows how to add scrolls to each table in grid hierarchy.
Separate scrolls for inner tables in hierarchical grid

and let me know if it works for you.

Greetings,
Pavlina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
vinoth
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or