Hi,
We're trying to use the scheduler with grouped resources but we can't get drag and drop to work as there is an error in the console. Do you have a sample of drag and drop working with grouped resources?
This is our setup, we have a list of grouped resources (tables)
But we get this error in the console.
Thanks,
Alex
Actually, think we can see the issue - if we try and use a collection or an array to link resources to an event for example a meeting that will have 2 meeting rooms as in the attached file we g
|
List<AppointmentData> DataSource = new List<AppointmentData>
{
new AppointmentData { Id = 1, Subject = "Meeting", StartTime = new DateTime(2020, 1, 31, 9, 30, 0) , EndTime = new DateTime(2020, 1, 31, 11, 0, 0),
OwnerId = 1, RoomId = 1 , HotelId = 1 }
};
public class AppointmentData
{
public int Id { get; set; }
public string Subject { get; set; }
public string Location { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public string Description { get; set; }
public bool IsAllDay { get; set; }
public string RecurrenceRule { get; set; }
public string RecurrenceException { get; set; }
public Nullable<int> RecurrenceID { get; set; }
public int OwnerId { get; set; }
public int RoomId { get; set; }
public int HotelId { get; set; }
} |
Hi, thanks for the reply.
As explained, we need multiple rooms linked to a single meeting. In our actual implementation we are building a restaurant reservation system where a booking might span multiple tables so we need to use an array or collection.
The above solution suggested works fine when having a single resource to an event but this does not cover our scenario, which is pretty common. What is a group editing feature?
Regards,
Alex