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
close icon

Resource grouping in Agenda view only

Hi friends,


Exist a way to only grouping resources in Agenda view ??

Thanks.

3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team March 1, 2017 01:06 PM UTC

Hi Marcelo, 
 
Thank you for contacting Syncfusion support. 
 
We have prepared the sample to display the resource grouping only in Agenda view which can be download from the below location. 
 
Kindly refer the below code example used in the sample. 
 
<Code> 
function onNavigation(args) { // this function will be called when the view navigated 
        if (this.model.currentView == "agenda") { 
            obj = { 
                resources: ["Rooms", "Owners"] 
            }; 
            $("#Schedule1").ejSchedule("option", "group", obj); 
        } 
        else 
            this.model.group = null; 
    } 
</Code> 
 
Regards, 
Karthigeyan 



MF Marcelo Fernandes March 1, 2017 10:25 PM UTC

Hi,

Many thanks for the example. It worked just as I needed it. 

But I have a question. I created a note for nancy on the 28th, okay. And I created two more for nancy on the 29th and two more for michael. 

When I visualize the day 29 and then change to the vision agenda only appears the notes of the day 29. If I put in the vision of day 28 and I put in the vision agenda appear the days 28 and 29.

Should this happen?

Thank´s


KK Karthigeyan Krishnamurthi Syncfusion Team March 2, 2017 06:54 AM UTC

Hi Marcelo,    
   
Thanks for your update.   
   
When a Scheduler current view is set as 29th day view, then current date will be set as 29 and Agenda view will display the appointment from the  
current date (29) to the next 6 days. Therefore, only appointments on the date 28 is not displayed in Agenda view, it is the default behavior.   
   
Regards,   
Karthigeyan   
   
 


Loader.
Live Chat Icon For mobile
Up arrow icon