Our pure JavaScript Scheduler component


Post by jbrazier »

Hi,

In previous versions we were blocking new events being created when you double click on the scheduler.

In the config we set the eventEditFeature to false and in the scheduleDblClick event we returned false - this was enough to stop a new event being created.

After upgrading to 5.3.1 it now creates a new event, is there another feature we should be disabling to turn off new events on double click?

If you add the following config values to https://bryntum.com/products/schedulerpro/examples/constraints/ then it reproduces that behaviour.

    viewPreset : 'dayAndWeek',
eventEditFeature: false,
listeners: {
    scheduleDblClick({ date }) {
      console.log(date);
      return false;
    },
},

Thanks,

Jason


Post by mats »


Post by jbrazier »

Thanks Mats for the reply, although that setting only seems to be for when you double click on the time axis which we want to be able to use - we trap the timeAxisHeaderDblClick event and use that event to place a new event and return false which is meant to stop it from zooming in, but it now zooms in regardless of the return value on 5.3.1 as well.


Post by mats »


Post Reply