Articles in this section

How to change the background color for weekend in Gantt

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)
Access denied
Access denied