the system should display the start date at the beginning of the schedular bar and the end date at the end of the schedular bar
Hello @ekanshparnami18,
Could you please clarify what you mean as end and start of scheduler bar, or provide some screenshot of the required result, as currently the requirement isn’t clear for me.
Basically scheduler displays start/end date of the view in the header:
You can configure it through the header config:
https://docs.dhtmlx.com/scheduler/api__scheduler_header_config.html
For example, you can change the date
part through the {view_name}_date
template, like follows:
scheduler.templates.week_date = function(start, end){
return `
<div>
${scheduler.templates.day_date(start)}
</div>
<div>
${scheduler.templates.day_date(scheduler.date.add(end,-1,"day"))}
</div>
`;
};
Here is a demo:
https://snippet.dhtmlx.com/hip1mvc4
Kind regards,