Premium support for our pure JavaScript UI components


Post by tomas@between.as »

The events and resources are being added to the calendar, but it only checks 1 item by default. How to have them all checked by default?

Please see attached file.

Attachments
Screenshot 2023-06-05 at 10.59.51 AM.png
Screenshot 2023-06-05 at 10.59.51 AM.png (225.68 KiB) Viewed 168 times

Post by alex.l »

Hi,

It should be working as you described out of the box. See our examples https://bryntum.com/products/calendar/examples/filtering/
Please share your code, there is might be some logic affected on this.

All the best,
Alex


Post by tomas@between.as »

This is how I set the data to the calendar and resource:

                
if(order.crew.length > 0){ this.calendar.eventStore.add({ id: order.order_id, name: name, startDate: startDate, endDate: endDate, resourceId: `resource_${order.order_id}`, color : eventColor }); this.calendar.resourceStore.add({ id: `resource_${order.order_id}`, name: name, eventId : order.order_id }); }

Post by alex.l »

This gives nothing to us. Please check our demos, do you see the behaviour you mentioned in demos? Can you modify one of our demos to have this problem reproducible or share your runnable application? We need to reproduce this to help you find the cause.

All the best,
Alex


Post Reply