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

selective background color

Hi,

we are using the scheduler component to allow dokters to define their appointments. 
In another part of the application one can define his working schedule 
f.e. 
08- 09h30AM I'm bookable for house-visits (label :  blue)
13-16 I'm bookable for consultations at hospital A (label : green)
17-20 I'm bookable for consultations at my home office (label : orange)

The actual bookings are done by phone via a contactcenter, so it is very usefull if the contactcenter agents would be able to see those colors in the scheduler as a transparant background color.

The result should look like this. The purple blocks are already booked timeslots.




Any suggestions how to do this ?


9 Replies

HB Hareesh Balasubramanian Syncfusion Team January 17, 2020 04:45 PM UTC

Hi Johnny, 

Greetings from Syncfusion Support. 

Based on your requirement, we have prepared a sample using dataBound and eventRendered events and the sample can be downloaded from the following link, 

Kindly try the above sample, if you have any concerns please revert us back for further assistance. 

Regards, 
Hareesh 



JO Johnny January 17, 2020 05:37 PM UTC

THx. This looks like what we were looking for.


KK Karthigeyan Krishnamurthi Syncfusion Team January 20, 2020 06:51 AM UTC

Hi Johnny, 
 
We are happy that our solution fulfilled your requirement. 
 
Regards, 
Karthi 



JO Johnny February 4, 2020 05:07 PM UTC

When is the onbound triggered ?
Could you point me to the appropriate documentation if any on this.


VM Vengatesh Maniraj Syncfusion Team February 5, 2020 06:46 AM UTC

Hi Jonny, 

Thanks for the update. 

Kindly check the below documentation link for dataBound event, 

Please revert us for further assistance. 

Regards, 
Vengatesh. 



JO Johnny February 5, 2020 07:21 AM UTC

And when is it triggered because the info in the documentation is rather 'limited'.


VM Vengatesh Maniraj Syncfusion Team February 6, 2020 07:27 AM UTC

Hi Jonny, 

Thanks for the update. 

The dataBound is triggered in each and every time the POST request has raised. The POST request has raised in below scenario’s 
  1. When the schedule has rendered on the DOM at first.
  2. When the CRUD action has got complete.
  3. When the date/view navigations actions got complete.

Regards, 
Vengatesh. 



JO Johnny February 6, 2020 09:00 AM UTC

thx. case may be closed. we were able to do what we wanted thx to your input.


VM Vengatesh Maniraj Syncfusion Team February 6, 2020 12:19 PM UTC

Hi Jonny, 

Thanks for the update. 

We are happy that your requirement has fulfilled. 

Please get in touch with us if you would require any further assistance. 
  
Regards, 
Vengatesh 


Loader.
Live Chat Icon For mobile
Up arrow icon