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

[Solved] Sortable columns in the grid, is working very strange

2 Answers 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter Beyer
Top achievements
Rank 1
Peter Beyer asked on 16 Feb 2015, 07:59 AM
Dear Telerik,


We faced a problem using grid inside of a sortable div.

The resize of the columns used to work fine, but when we put a grid inside of a sortable div, it stopped to work.

How can we make it work? Here is a demonstration of the problem, I have attached a screendump, so you can see, what we think is not working.

http://dojo.telerik.com/ODOge

We are using the lastest version of Google Chrome, but it doesn't work properly at the others browsers neither.

Looking forward to hear from you.

Best regards

 

Peter Beyer
CRM-ByggeFakta

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 18 Feb 2015, 07:50 AM
Hello Peter,

Dragging of an element normally requires focusing and dragging of descendant elements to be prevented. In your case you can tell the Sortable widget to ignore the Grid column resize handles, so they start working again.

http://docs.telerik.com/kendo-ui/api/javascript/ui/sortable#configuration-ignore

The CSS class of the handles is .k-resize-handle

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Peter Beyer
Top achievements
Rank 1
answered on 18 Feb 2015, 08:15 AM
Hi Dimo,

It is working :-).

Thank you

Peter
CRM Byggefakta

Tags
Grid
Asked by
Peter Beyer
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Peter Beyer
Top achievements
Rank 1
Share this question
or