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

How to customize the cells in different views (Month, week, day etc) ?

Platform: JavaScript |
Control: ejSchedule |
Published Date: July 1, 2016 |
Last Revised Date: July 1, 2016

The following steps shows the way to customize the scheduler cells in different views (Month, week, day etc.) and to highlight the current date column cells.

Step 1:  Create a scheduler cell template sample with multiple resources and refer the required scripts and stylesheets to it by referring the following link.

 Online Sample Link: http://js.syncfusion.com/demos/web/#!/azure/schedule/template/cell

Step 2: Include an additional field namely “Type” which holds two values namely present and absent within the owner dataSource as shown below,  



Step 3: Define the create event mapped to the event handler function namely currentDay which contains the code to highlight the current date column cells. The following code example shows the logic.


Step 3: Also, define the actionComplete event which gets triggered on completion of every successful scheduler action. Call the function currentDay on the successful completion of specific actions such as view and date navigation as depicted in the below code example.


Step 4: The following template code can be used to customize the scheduler cells based on the resource name and type, view, day and date.


Sample Link: http://jsplayground.syncfusion.com/bzmnu3fa

Step 5: Run the above sample and the customized week view cells will be seen as shown below.

 Figure 1: Scheduler with customized week view cells.

You must log in to leave a comment

Please sign in to access our KB

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