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

Drop Preview disable

3 Answers 146 Views
GridView
This is a migrated thread and some comments may be shown as answers.
AleksR
Top achievements
Rank 1
AleksR asked on 17 Jun 2011, 02:45 PM

Hello!

We have found some problem with column drag&drop using your Grid control.

We made a complex header  for several columns (as showing at the pic1. Fourth and fifth columns and further).


Here is two grids: one for headers, and one for data (we need in complex headers with several levels and this is the only solution we have found). We using GridSplitter to Separate header columns CanUserReorderColumns property also disabled as for grid as for every column (IsReorderable propetry).

Eventually when we try to resize inner column width by GridSplitter we’ve got a problem ( as showing  at the pic2)


The problem is that drag&drop disabled, but drag&drop preview works. It works and hides GridSplitter so we cannot understand where it is and cannot set it exactly as we want. The problem is available for resizing separated column only.

Do you have some solution for this problem? Any advice would be appreciated. 

3 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 20 Jun 2011, 10:13 AM
Hi Aleksandr,

 You can disable this behavior by adding logic that will distinct dragging header cell from dragging  grid splitter. I have prepared sample project demonstrating on solution to this problem, by suppressing drag operation if gridsplitter is being dragged.
 Please have a look at the attachment and let us know if this fits in your scenario.

Regards,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
AleksR
Top achievements
Rank 1
answered on 24 Jun 2011, 09:00 AM
Thank you, that is exactly what I needed!
0
AleksR
Top achievements
Rank 1
answered on 12 Sep 2011, 11:41 AM
Unfortunately, it doesn't work for the version Q2.
Tags
GridView
Asked by
AleksR
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
AleksR
Top achievements
Rank 1
Share this question
or