Rad Grouping not working for more grid columns.

3 posts, 0 answers
    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"
           onsortcommand="RadGrid1_SortCommand1" CellSpacing="0"  >
       <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
               <HeaderStyle Width="150" />
            <telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter column column"
                                              HeaderText=" Name" UniqueName="column">
             <telerik:GridBoundColumn DataField="dept id" FilterControlAltText="Filter column column"
                                              HeaderText="dept_id" UniqueName="column">
                                     (40 colums like this..)
                                          <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                  <FilterMenu EnableImageSprites="False">
                                  <GroupingSettings ShowUnGroupButton="true" />
                                  <ClientSettings EnableRowHoverStyle="true" AllowDragToGroup="True" AllowColumnsReorder="true"
                                      AllowColumnHide="True" AllowKeyboardNavigation="True" AllowRowsDragDrop="True"
    <Selecting AllowRowSelect="True" />
                                      <ClientEvents OnColumnContextMenu="ColumnContextMenu" />
                                      <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                                      <Resizing AllowColumnResize="true" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />

    Any solutions...???
    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..?

  3. Radoslav
    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,
    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