We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Dragging in resource view results in Uncaught TypeError: Cannot read property 'quickPopupHide' of undefined

Thread ID:

Created:

Updated:

Platform:

Replies:

142746 Feb 15,2019 03:45 PM UTC Mar 6,2019 08:43 AM UTC JavaScript - EJ 2 3
loading
Tags: Schedule
Arwin
Asked On February 15, 2019 03:57 PM UTC

Hi,

I have the following schedule settings:
ejs-schedule id="Schedule" ref="scheduleObj" :event-settings="eventSettings" :group="group" width="100%">
            e-resources>
                e-resource :allow-multiple="allowMultiple" :data-source="clinicians"
                            field="created_for" name="Gebruikers"
                            text-field="name" id-field="id"/>
            /e-resources>
        /ejs-schedule>
(I removed the < characters )

I use a 
  • UrlAdaptor as DataManager
  • allowMultiple = true
  • group = {byDate: true, resources: ['Gebruikers'], allowGroupEdit: true} 
The calendar is working fine, but when I drag an appointment I get the error in my console:
Uncaught TypeError: Cannot read property 'quickPopupHide' of undefined
    at DragAndDrop.drag (drag.js?98cf:150)
    at Observer.notify (observer.js?6607:89)
    at Draggable.Base.trigger (base.js?54ff:149)
    at Draggable.intDrag (draggable.js?857f:275)
    at HTMLDocument.t._rollbar_wrapped.t._rollbar_wrapped (rollbar.umd.min.js?47aa:1)

When I delete the e-resource tag then the drag and drop option works fine. Is there something that I'm doing wrong?

Edit: when I change the byDate option to false in the group attribute everything works fine. So maybe a bug?


Nevitha Ravi [Syncfusion]
Replied On February 18, 2019 11:21 AM UTC

Hi Arwin, 
 
Greetings from Syncfusion Support. 
 
We have checked the reported scenario at our end and the dragging functionality is working fine at our end, please refer the following downloadable sample link. 
 
 
Kindly try the above sample if the issue persist still try to reproduce the issue in the above sample to serve you better. 
 
Regards, 
Nevitha 


Arwin
Replied On February 18, 2019 04:04 PM UTC

Thank you for the example! I have discovered the problem, the dataSource that I use in the Resource is mapGetters data, on creation was it not set. The scheduler is displaying the later loaded information correctly, but drag and drop is not working. I have now added a v-if to the Schedule component and now it will work correctly. Maybe something to fix.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 6, 2019 08:43 AM UTC

Hi Arwin, 
 
Thanks for your update. 
 
We have checked the below CRUD sample with mapGetters data for Resource and able to drag & drop the events in Scheduler.  
 
Regards, 
Karthigeyan 
 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;