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

Rad Grouping not working for more grid columns.

2 Answers 51 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
KIRAN RAJ
Top achievements
Rank 1
KIRAN RAJ asked on 06 Nov 2011, 05:04 PM
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 Answers, 1 is accepted

Sort by
0
KIRAN RAJ
Top achievements
Rank 1
answered on 07 Nov 2011, 02:04 PM
Can telerik Radgrid support grouping for more than 40 to 50 coulmns..?

Thanks
0
Radoslav
Telerik team
answered on 09 Nov 2011, 09:48 AM
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
Tags
Ajax
Asked by
KIRAN RAJ
Top achievements
Rank 1
Answers by
KIRAN RAJ
Top achievements
Rank 1
Radoslav
Telerik team
Share this question
or