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

Cannot drag drop column headers into grouping panel

5 Answers 157 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Maria
Top achievements
Rank 1
Maria asked on 27 Dec 2009, 06:41 PM
I'm unable to drag drop column headers into the grouping panel.  The grid below was simply dragged onto the user control and bound - no coded events, no customization.  When you try to drag the column header, it shows that dragging is disabled.

Here's the xaml:
<UserControl  
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" 
    xmlns:local="clr-namespace:Compliance360.Client.UserControls" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"      
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" 
    xmlns:uiFramework="clr-namespace:Compliance360.Client.UIFramework" 
    xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    xmlns:Telerik_Windows_Controls_GridView="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" 
    xmlns:uploadControl="clr-namespace:Compliance360.Client.UserControls"     
    x:Class="Compliance360.Client.UserControls.WizardActionConfirmation" 
    d:DesignWidth="1024" d:DesignHeight="600" MinHeight="600">  
    <Grid x:Name="LayoutRoot" Background="{StaticResource BowneWhite}">  
        <StackPanel Margin="0,8,0,0">  
            <StackPanel Margin="8">  
                <StackPanel Height="384">  
                    <TextBlock HorizontalAlignment="Left" Margin="8" FontFamily="Arial" FontSize="14" FontWeight="Bold" Foreground="{StaticResource BowneBlue}" Text="1.  step action...." TextWrapping="Wrap"/>  
                    <telerikGridView:RadGridView ItemsSource="{Binding Revision.FilingRevisionContacts}"/>  
                </StackPanel> 
            </StackPanel> 
        </StackPanel> 
    </Grid> 
</UserControl> 
 

5 Answers, 1 is accepted

Sort by
0
ysea
Top achievements
Rank 1
answered on 28 Dec 2009, 08:03 AM
I have same problem. I can drag but cannot drop column header. I set :
gridTemp.ClientSettings.Resizing.AllowColumnResize = true;
gridTemp.ClientSettings.Resizing.AllowRowResize = false;
gridTemp.ClientSettings.Resizing.ResizeGridOnColumnResize = false;
gridTemp.ClientSettings.Resizing.ClipCellContentOnResize = true;
gridTemp.ClientSettings.Resizing.EnableRealTimeResize = true;
gridTemp.ClientSettings.AllowColumnsReorder = true;
gridTemp.ClientSettings.ReorderColumnsOnClient = true;
gridTemp.GroupingEnabled = true;
gridTemp.ShowGroupPanel = true;
gridTemp.MasterTableView.GroupLoadMode = GridGroupLoadMode.Client;
gridTemp.ClientSettings.AllowGroupExpandCollapse = true;
gridTemp.MasterTableView.EnableColumnsViewState = false;

My RadGrid.Net2.dll version is Q4 2006
0
Pavel Pavlov
Telerik team
answered on 28 Dec 2009, 09:43 AM
Hello Maria Hsiung,

I have tried to reproduce the problem here but with no success. Can you please send me a project that resembles the problem ?  ( to be able to attach the project please open a support ticket)

Hi ,
Phi Hai

This forum section is about RadGridView for Silverlight . I believe you have placed the question here by mistake.

All the best,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brendan
Top achievements
Rank 1
answered on 15 Jul 2011, 01:47 AM
I have the same problem, the issue is dragging only works when a row is selected. Selecting a row allows me to drag the headers, deselecting the row doesn't allow dragging.
0
Yordanka
Telerik team
answered on 15 Jul 2011, 08:03 AM
Hi Brendan,

Does the problem occur with the latest official binaries - Q2 2011? Can you reproduce it on our demos?
 
Regards,
Yordanka
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Brendan
Top achievements
Rank 1
answered on 30 Nov 2011, 04:08 AM
I realised my problem was that the objects used in my grid required implementing the IComparable interface for filtering and grouping
Tags
GridView
Asked by
Maria
Top achievements
Rank 1
Answers by
ysea
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Brendan
Top achievements
Rank 1
Yordanka
Telerik team
Share this question
or