Drag and Drop Not working properly

Community plugins and extensions
Post Reply
User avatar
mmpsd
Posts: 15
Joined: Thu May 08, 2014 9:56 am

Drag and Drop Not working properly

Post by mmpsd »

Am using Scheduler grid 2.2.24 with Sencha architect 3.0 and Ext js 4.1.2
1. enableEventDragDrop
Am able to drag and drop one time but not for second time
2. How to catch the event for drag and drop for scheduled event

User avatar
mats
Core Developer
Core Developer
Posts: 16460
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Drag and Drop Not working properly

Post by mats »

1. Please provide more information. Just saying it doesn't work is not enough. We need a test case that we can look at.

2. Please look in our docs: http://www.bryntum.com/docs/scheduling/ ... -eventdrop
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mmpsd
Posts: 15
Joined: Thu May 08, 2014 9:56 am

Re: Drag and Drop Not working properly

Post by mmpsd »

WsScheduler.zip
(696.13 KiB) Downloaded 604 times
WebSocket implementaion in Scheduler.jpg
WebSocket implementaion in Scheduler.jpg (62.24 KiB) Viewed 10777 times
Hi Mats
I have attached project which contains Ext.Scheduler downloaded from
http://www.bryntum.com/customerzone/home.php
(Ext.Scheduler Version 2.2.25 with Ext js 4.2.1)

1. Am able to drag and drop one time but not for second time
2. How to catch the event for drag and drop for scheduled event
A. How to use Sch.mixin.SchedulerPanel
B. Let me know how can i override drag and drop events in mySchedulerGrid

description - Am trying to implement webSocket Call back methods in drag and drop event

User avatar
mats
Core Developer
Core Developer
Posts: 16460
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Drag and Drop Not working properly

Post by mats »

2. See my previous reply about our docs
A. What do you mean by this?
B. What do you mean by override drag and drop events? Do you want to add a listener for the 'eventdrop' event?

http://docs.sencha.com/extjs/4.2.2/#!/a ... ddListener
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
mmpsd
Posts: 15
Joined: Thu May 08, 2014 9:56 am

Re: Drag and Drop Not working properly

Post by mmpsd »

Hi Mats

i need to find out enableEventDragDrop event and add few lines of code

example
like how we can override in plugins: [Ext.create('Sch.plugin.EventEditor', {
.....
....
onSaveClick : function() {
....
}
}

User avatar
Maxim Gorkovsky
Core Developer
Core Developer
Posts: 3241
Joined: Wed Jan 08, 2014 11:46 am

Re: Drag and Drop Not working properly

Post by Maxim Gorkovsky »

Hello.
You can solve your dragdrop problem overriding scheduling grid.

Code: Select all

Ext.define('MyApp.view.override.MySchedulerGrid', {
    override: 'MyApp.view.MySchedulerGrid',
    
    allowModify : function () { return true; }
    
});
We'll fix this annoying behavior in coming versions.

In this override you can also provide your custom plugins.

User avatar
mmpsd
Posts: 15
Joined: Thu May 08, 2014 9:56 am

Re: Drag and Drop Not working properly

Post by mmpsd »

Hi Maxim

Thanks for your reply, now am able to fire function when i drag it
can i know the function for drop?

User avatar
Maxim Gorkovsky
Core Developer
Core Developer
Posts: 3241
Joined: Wed Jan 08, 2014 11:46 am

Re: Drag and Drop Not working properly

Post by Maxim Gorkovsky »

You mean you cannot drop event anywhere in time axis? This config is responsible for that http://www.bryntum.com/docs/scheduling/ ... Resolution

Post Reply