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

Drag and Drop with Column Grouping crashes app

2 Answers 87 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Diji
Top achievements
Rank 1
Diji asked on 01 Aug 2011, 07:27 PM
Hi,

When I enable Drap and Drop for GridViewRow, this stops column header grouping working because it tries to drag the column header instead of performing the grouping action.

<telerik:RadGridView.RowStyle>
    <Style TargetType="telerik:GridViewRow">
        <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrag" Value="True" />
    </Style>
</telerik:RadGridView.RowStyle>

Is there any way to fix this?

Thanks

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 02 Aug 2011, 07:46 AM
Hi Diji,

 

Can you replicate the described behavior in our online demo "RowReorder"? If there are some differences between the code from this example and yours it could be great if you submit a new support ticket. There you may attach a runnable project which we can use for local testing and debugging. 


Kind regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Diji
Top achievements
Rank 1
answered on 02 Aug 2011, 08:17 AM
Hi,

I believe that example would exhibit the same behaviour if grouping with the header bar was enabled.
In that example, you can drag the column headers and it starts the drag event.
When drag and drop is enabled for rows, it shouldn't allow you to drag the column headers.

Thanks
Tags
GridView
Asked by
Diji
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Diji
Top achievements
Rank 1
Share this question
or