Rad Grouping not working for more grid columns.

3 posts, 0 answers
  1. KIRAN RAJ
    KIRAN RAJ avatar
    23 posts
    Member since:
    Sep 2011

    Posted 06 Nov 2011 Link to this post

    Hi guys,
    I Was working On Rad Grid recently with 5 columns in it , i was able to perform grouping  successfully by dragging and placing on top of rad grid,
    but when i changed my prog and placed around 40 columns , i was not able to perform grouping..
    when ever i try to drag a column always first column getting grouped.. and also i am not able to reorder by columns..

    Any solutions..?
     
         <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" Skin="Black" 
          OnNeedDataSource="RadGrid1_NeedDataSource" Width="784px"
            OnColumnDblClick="Radgrid1_OnColumnDblClick" AllowAutomaticDeletes="True" OnGroupsChanging="RadGrid1_GroupsChanging"
          AutoGenerateColumns="False" OnColumnsReorder="RadGrid1_ColumnsReorder"
          ShowFooter="True" AllowPaging="True"
           onpageindexchanged="RadGrid1_PageIndexChanged"
           onitemdatabound="RadGrid1_ItemDataBound"
           onpagesizechanged="RadGrid1_PageSizeChanged"
           onsortcommand="RadGrid1_SortCommand1" CellSpacing="0"  >
                              
       <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
                                  
                  <MasterTableView>
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                </RowIndicatorColumn>
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                </ExpandCollapseColumn>
               <HeaderStyle Width="150" />
                             
            <Columns>
            
     
            <telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter column column"
                                              HeaderText=" Name" UniqueName="column">
                                          </telerik:GridBoundColumn>
                                      
             <telerik:GridBoundColumn DataField="dept id" FilterControlAltText="Filter column column"
                                              HeaderText="dept_id" UniqueName="column">
                                          </telerik:GridBoundColumn>
                                                  
                                                  
                                                              --
                                                              --
                                     (40 colums like this..)
                     
            </Columns>
                                      <EditFormSettings>
                                          <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                          </EditColumn>
                                      </EditFormSettings>
                                  </MasterTableView>
                                  <FilterMenu EnableImageSprites="False">
                                  </FilterMenu>
                                  <GroupingSettings ShowUnGroupButton="true" />
                                  <ClientSettings EnableRowHoverStyle="true" AllowDragToGroup="True" AllowColumnsReorder="true"
                                      AllowColumnHide="True" AllowKeyboardNavigation="True" AllowRowsDragDrop="True"
                                      ReorderColumnsOnClient="True">
    <Selecting AllowRowSelect="True" />
                                      <ClientEvents OnColumnContextMenu="ColumnContextMenu" />
                                      <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                                      <Resizing AllowColumnResize="true" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />
                                  </ClientSettings>
                              </telerik:RadGrid>

    Any solutions...???
     
  2. KIRAN RAJ
    KIRAN RAJ avatar
    23 posts
    Member since:
    Sep 2011

    Posted 07 Nov 2011 Link to this post

    Can telerik Radgrid support grouping for more than 40 to 50 coulmns..?

    Thanks
  3. Radoslav
    Admin
    Radoslav avatar
    1566 posts

    Posted 09 Nov 2011 Link to this post

    Hi Kiran,

    I tried to reproduce the described issue but to no avail. I am sending you a simple example, based on your code, please check it out and let me know what differs in your case.

    Looking forward for your reply.

    All the best,
    Radoslav
    the Telerik team
    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 their blog feed now
Back to Top