Premium support for our pure JavaScript UI components


Post by gorakh.nath »

After drag and drop the task from grid it is throwing error
TypeError: Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a Symbol.iterator method.
I have attached the sample application to debug this issue.
Please fix in sample code that I have attached.

Attachments
sampleApp.zip
This is react sample application where we added schedulerpro-react.
(2.98 MiB) Downloaded 48 times

Post by saki »

It looks like our non-pro Scheduler demo running with Scheduler Pro. Did you make some other changes to the demo? Or only ported it to Scheduler Pro?


Post by gorakh.nath »

@saki I only ported Scheduler Pro. What change I need to do, It will be very helpful if you modify the code in the sample application attached above and share.


Post by saki »

There must be some error somewhere. I've taken our non-pro demo and made it to use Scheduler Pro and it worked for me. I'm attaching the zip.

Attachments
drag-from-grid.zip
(2.79 MiB) Downloaded 52 times

Post by gorakh.nath »

@saki I found the issue, import was wrong :

import { SchedulerEventModel } from '@bryntum/schedulerpro/schedulerpro.umd';

After changing it starts working:

 import { EventModel } from '@bryntum/schedulerpro/schedulerpro.umd';

Post Reply