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. Image for the cookie policy date

Change / Disable Resource and Grouping by View


No code to share just a question.  For the Schedule component, can you change the resource / group by view?  Specifically, if I want the group and resource for the TimelineDay view but I don't want any groups or resources for the Month view, how do I turn it off on navigate change?


3 Replies

VR Vijay Ravi Syncfusion Team March 24, 2023 10:54 AM UTC

Hi Mark,

navigating api: https://ej2.syncfusion.com/javascript/documentation/api/schedule/#navigating

Sample: https://stackblitz.com/edit/z8jzdg?file=index.js

You can achieve your requirement by using the navigating event. If the currentView of the Schedule is Month, set the resources property of the Schedule group property to empty array. For other views set the resources in the group property as highlighted in the below code snippet.


  navigating: (args=> {

        if (args.currentView === "Month") {

            scheduleObj.group = { resources: [] }; // disable group in month view


        else {

            scheduleObj.group = { resources: ['Owners'] }; // enable group in other views




Vijay Ravi

MA Mark March 24, 2023 02:24 PM UTC

Excellent and thank you!

RV Ravikumar Venkatesan Syncfusion Team March 27, 2023 05:44 AM UTC


You are welcome. Let us know if you need any further assistance.

Live Chat Icon For mobile
Up arrow icon