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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Date-wise grouping for multiple resource

Thread ID:

Created:

Updated:

Platform:

Replies:

142441 Feb 4,2019 09:43 PM UTC Feb 5,2019 05:52 AM UTC React - EJ 2 3
loading
Tags: Schedule
aaa
Asked On February 4, 2019 09:43 PM UTC

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

aaa
Replied On 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]
},

aaa
Replied On 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


Karthigeyan Krishnamurthi [Syncfusion]
Replied On 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 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;