Drag Event Issue

Discuss issues related to v4.x
Post Reply
User avatar
wedhaka
Posts: 10
Joined: Tue Jan 10, 2017 2:12 pm

Drag Event Issue

Post by wedhaka » Tue Jun 06, 2017 10:25 am

when event drag top to bottom automatically drag to right, side there date is updating. check in below linkg

http://recordit.co/DnzvwqVWDM

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

Re: Drag Event Issue

Post by mats » Tue Jun 06, 2017 10:56 am

Please try to reproduce this in our examples, and as always - please provide us with useful debugging context.

http://www.bryntum.com/forum/viewtopic.php?f=3&t=771
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
wedhaka
Posts: 10
Joined: Tue Jan 10, 2017 2:12 pm

Re: Drag Event Issue

Post by wedhaka » Tue Jun 06, 2017 12:10 pm

Here add sample code. when start to drag event you can see the issue
Attachments
Sample code.zip
(1.47 MiB) Downloaded 146 times

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

Re: Drag Event Issue

Post by mats » Tue Jun 06, 2017 1:21 pm

This is due to your own code, just need to debug why you're doing what you're doing :)

Code: Select all

 bookingScheduler.on('eventdrag', function (sch, event, startDate, dateResource, dragData) {
            extendondrag(this, dragData.endDate);
        });
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
wedhaka
Posts: 10
Joined: Tue Jan 10, 2017 2:12 pm

Re: Drag Event Issue

Post by wedhaka » Tue Jun 06, 2017 1:48 pm

this use for drag event to future date. if i comment this part, i couldn't drag to future date.

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

Re: Drag Event Issue

Post by mats » Tue Jun 06, 2017 2:03 pm

Regardless, it's your code - you need debug it.
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
wedhaka
Posts: 10
Joined: Tue Jan 10, 2017 2:12 pm

Re: Drag Event Issue

Post by wedhaka » Tue Jun 06, 2017 2:07 pm

with out applying this. have any solution for drag to future date??

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

Re: Drag Event Issue

Post by mats » Tue Jun 06, 2017 2:15 pm

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

Post Reply