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

Date-wise grouping for multiple resource

Is it possible to specify  event  mapped to multiple resources?
Tried to make   field='TaskId' as field='TaskIds' which is array, but its not work. 
I can multiply events by my array field , but than it will be  duplicated  event id  field


https://ej2.syncfusion.com/beta/react/demos/?_ga=2.213318484.1352908623.1549203469-3740067.1549044641#/material/schedule/group-by-date

3 Replies

AA aaa February 4, 2019 10:32 PM UTC

forked example with single event
https://stackblitz.com/edit/react-n13ka7?file=datasource.json

when I edit event at  Alice column that only it changed, when edit event at Smith column then both jumps to Smith column

I want to provide several resources like: 

"resourceData": [
{
"Id": 1,
"Subject": "Workflow Analysis",
"StartTime": "2018-04-01T04:00:00.000Z",
"EndTime": "2018-04-01T06:30:00.000Z",
"IsAllDay": false,
"ProjectId": 1,
"TaskId": [1,2]
},


AA aaa February 4, 2019 10:50 PM UTC

also when edit event  - Assignee  field allow  multiple  values, but when add new value -  event duplicates, and when edit again - Assignee field have only one value again



KK Karthigeyan Krishnamurthi Syncfusion Team February 5, 2019 05:52 AM UTC

 
Thank you for contacting Syncfusion support. 
 
In the provided sample, same Id value is used for two events, which is the cause for the reported issues. Scheduler accepts array resource id values only when allowGroupEdit is set to true and kindly refer the below links. 
 
Regards, 
Karthigeyan 


Loader.
Live Chat Icon For mobile
Up arrow icon