Articles in this section
Category / Section

How to change the background color for weekend in Gantt

1 min read

In Gantt, it is possible to customize the weekend highlight color by using weekendBackground property, please refer the following code example for this.

$(function () {
     $("#GanttContainer").ejGantt({
           dataSource: defaultGanttData,
           taskIdMapping: "TaskID",
           weekendBackground:"#00FFFF",
           //..
   });
});

Screen shot:

Customize the background color for weekend.

Sample:

A simple sample to change the background color for the weekend in Gantt is available here.

 

 

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied