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.
Unfortunately, activation email could not send to your email. Please try again.

Resource grouping in Agenda view only

Thread ID:

Created:

Updated:

Platform:

Replies:

129141 Feb 28,2017 03:54 PM Mar 2,2017 01:54 AM ASP.NET MVC 3
loading
Tags: Schedule
Marcelo Fernandes
Asked On February 28, 2017 03:54 PM

Hi friends,


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

Thanks.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 1, 2017 08:06 AM

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 


Marcelo Fernandes
Replied On March 1, 2017 05:25 PM

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

Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 2, 2017 01:54 AM

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   
   
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;