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

Radgrid grouping causes malfunction

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Guillermo
Top achievements
Rank 1
Guillermo asked on 11 Nov 2014, 12:51 PM
Hi.

I´m working on a RadGrid which have three fixed columns and several neither. The question is that if i try to group by columns, Radgrid begins to act exactly as if tablelayout="fixed". Only grouped, not in every postback.

so even if i change the width just like this thread says 
http://www.telerik.com/forums/radgrid-grouping-causing-columns-to-be-resized

I´m still having an issue because columns only expand and stretch like an acordeon. No scroll at all, act exacly as fixed.


<telerik:RadSplitter ID="RadSplitter1" runat="server">
    <telerik:RadPane ID="VSPRadPane" runat="server" Scrolling="None" OnClientResized="VSPGridCreated">
        <div style="text-align: right">
            <telerik:RadButton ID="ExportButton" runat="server" Text="Exportar a Excel" OnClick="ExportButton_Click"></telerik:RadButton>
        </div>
        <div id="VSPGridContainer" style="height: 97%;">
            <telerik:RadGrid ID="VSPMainRadGrid" runat="server" AutoGenerateColumns="false"
                AllowSorting="true" AllowPaging="true" PageSize="100"
                OnNeedDataSource="VSPMainRadGrid_NeedDataSource"
                OnUpdateCommand="VSPMainRadGrid_UpdateCommand"
                OnItemCreated="VSPMainRadGrid_ItemCreated"
                OnDeleteCommand="VSPMainRadGrid_DeleteCommand"
                OnInsertCommand="VSPMainRadGrid_InsertCommand"
                OnGroupsChanging="VSPMainRadGrid_GroupsChanging"
                EnableLinqExpressions="false"
                >

                <ClientSettings AllowDragToGroup="True">
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="5" />
                    <ClientEvents OnGridCreated="VSPGridCreated" />
                </ClientSettings>

                <MasterTableView DataKeyNames="Id" AllowNaturalSort="false" HierarchyLoadMode="Client" CommandItemDisplay="Top" AllowFilteringByColumn="True"
                    InsertItemPageIndexAction="ShowItemOnCurrentPage" AutoGenerateColumns="false" ClientDataKeyNames="Id" TableLayout="Auto">
                    <Columns>
                                [...]
                     </columns>
                             <EditFormSettings EditFormType="Template" PopUpSettings-Modal="true">
                                [...]
                              </EditFormSettings> 
                </MasterTableView>
                <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
                <GroupingSettings CaseSensitive="false"></GroupingSettings>
            </telerik:RadGrid>
        </div>
    </telerik:RadPane>
    <telerik:RadPane ID="RadPane1" runat="server" Collapsed="true" />
</telerik:RadSplitter>

Any suggestion?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 14 Nov 2014, 08:09 AM
Hi Guillermo,

I tried reproducing the problem in an isolated sample but to no avail. Please examine the attachment and tell us what differs in your case. Additionally please elaborate more on the exact browser and browser version used for viewing the page as well as the version of the controls that the application references.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Guillermo
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or