Hi Michal,
In Gantt, we have a column property called “editParams” to customize the editing controls like date picker, numeric textbox, dropdownlist etc. Using this property, we can customize the date picker API in the load event.
In DatePicker, we have an API’s called “startDay” which is used to set the start day of the week.
Please refer the code snippet below.
$("#GanttContainer").ejGantt({
dataSource: weekData,
//..
load: function () {
var column = this.getColumns();
column[2].editParams={}
column[2].editParams.startDay = 1;
}
}); |
We have prepared a sample for your reference, please find the sample from the below link.
And also we can specify the start day of the week in week timescale mode by setting the day count value to the “scheduleHeaderSettings.weekStartDay” property.
This property was used to changes week start day in Gantt timescale and date picker controls.
Please refer the code snippet below.
$("#GanttContainer").ejGantt({
dataSource: weekData,
//..
scheduleHeaderSettings: {
scheduleHeaderType: ej.Gantt.ScheduleHeaderType.Week,
weekStartDay: 2
},
}); |
We have prepared a sample for your reference, please find the sample from the below link.
Please let us know if you require any other assistance on this.
Thanks,
Suriyaprasanth R.