ScheduleTemplates working depends on propery model!

Hi great support.

I am working on this page;
https://blazor.syncfusion.com/demos/scheduler/room-scheduler?theme=bootstrap4

Every thing works like charm, but when i change my foreign prepery name it crashes.

Basicaly i am changing 
RoomData entity like this;

public class RoomData : AppointmentData
        {
            public int RoomId { get; set; }
            public bool IsBlock { get; set; }
            public virtual string ElementType { get; set; }
            public virtual DateTime StartTimeValue { get; set; }
            public virtual DateTime EndTimeValue { get; set; }
            public RoomsData ResourceDa { get; set; }
        }

I just changed name ResourceData to ResourceDa  
And in razor i have convert this part;


It didn't worked. I am afrraid this scheduler depends on ResourceData  property name !
I have lost couple hours , Hope i am wrong
Thanks .

3 Replies 1 reply marked as answer

AK Alagumeena Kalaiselvan Syncfusion Team June 30, 2020 04:47 AM UTC

Dear Customer, 

Thanks for contacting Syncfusion support! 

We have checked your reported query “ScheduleTemplates working depends on property model” and currently Scheduler ResourceHeaderTemplate allows context as ResourceData alone. So, we already considered this as improvement and logged the feature request for that which can be tracked from the below link. 


We will implement the above request for our Volume 3, 2020 main release

Regards 
Alagumeena.K 


Marked as answer

BL Blazor June 30, 2020 08:22 PM UTC

Hi Thanks .
I love how support team responsive like this.




VM Vengatesh Maniraj Syncfusion Team July 1, 2020 04:26 AM UTC

Dear Customer, 

You are most welcome. 

Please get in touch with us if you need any further assistance. 

Regards, 
Vengatesh  


Loader.
Up arrow icon