How to retrieve Color from Database using SfSchecluer

Will you please help me, how to retrieve color from Database on SfScheduler. I can save color but i cannot retrieve it.


Attachment: MainWindowVM_4712ac0f.zip

1 Reply

SS SaiGanesh Sakthivel Syncfusion Team August 12, 2021 08:59 AM UTC

 
Thank you for using Syncfusion products. 
 
#Regarding retrieve Color from Database using SfSchecluer 
We have checked the reported query from our end. Based on given information, we prepared the sample and we could not replicate the reported scenario from our end. We suspect that you may be missing the custom mapping of the color property to the AppointmentBackground property in SfScheduler. Please refer to the following code snippet for your reference. 
 
Code Snippet 
<syncfusion:SfScheduler.AppointmentMapping> 
    <syncfusion:AppointmentMapping 
            EndTime="To" 
            StartTime="From" 
            Subject="EventName" 
            AppointmentBackground="color" 
            IsAllDay="AllDay"  /> 
</syncfusion:SfScheduler.AppointmentMapping> 
 
Please refer to the tested sample in the following location. 
 
Please check the sample and let us know if you still facing the same issue? If not, please modify the sample based on your scenario and revert us back with the following details,

 
·       Share the syncfusion version used in sample. 
 
Regards, 
SaiGanesh Sakthivel 


Loader.
Up arrow icon