Our pure JavaScript Scheduler component


Post by JavierLFT »

Hi,

We are using Scheduler with Extjs Modern 7.

*The following properties do not work for us to disable them.

features : {
        eventMenu : {
            items : {
                deleteEvent   : false,
                editEvent : false
            }
        }
    }

and

	features : {
        timeAxisHeaderMenu : {
            items : {
                currentTimeLine : false,
                eventsFilter:false,
                zoomSlider:false,
                dateRange:false
            }
        }
    }
  • And On the other hand we want to enable being able to select multiple tasks and it doesn't work for us either:
    'multiselected'
eventSelection:{
                multiEventSelect: true,
            },

or

 multiEventSelect: true,

Could you help us?

We have tried inside the file "SchedulerPanel.js" to try to export them in the section 'exportedProperties' but it says that they do not exist. --> 'featureNotFound'

Regards!!


Post by pmiklashevich »

I cannot reproduce your issue within our demo.
Please get Scheduler/examples/extjsmodern running.
Modify Scheduler/examples/extjsmodern/Bryntum/SchedulerPanel.js:

config   : {
    .......
    multiEventSelect : true,

    features : {
        eventMenu          : {
            items : {
                deleteEvent : false,
                editEvent   : false
            }
        },
        timeAxisHeaderMenu : {
            items : {
                currentTimeLine : false,
                eventsFilter    : false,
                zoomLevel       : false, // zoomSlider => zoomLevel
                dateRange       : false
            }
        },
        ......
    },
......
},

exportedProperties: [
    'multiEventSelect',
    .....

See, no context menu shown for timeaxis header and for events. And the multi select works if you hold CTRL on Windows or CMD on MacOS.

Also, please keep in mind that if you don't need to show a context menu, no need to disable all items individually. You can just disable the whole feature.

        features : {
            eventMenu          : false,
            timeAxisHeaderMenu : false,

Please apply minimal changes to our demo to reproduce the issue and submit it here as a runnable testcase.

Best,
Pavel

P.S. I also tried to update the ExtJS version to 7.2.0 in index.html. Worked too.

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply