Good morning,
How could I format the date in the header? I tried in many different ways but without success. I'd like to see the month in each cell and not just in the first one.
Thank you,
Matteo Messmer
|
getDateHeaderText(props) {
return this.instance.formatDate(props.date, { skeleton: 'MMMd' });
}
render() {
return (
<div className="schedule-control-section">
<div className="col-lg-12 control-section">
<div className="control-wrapper">
<ScheduleComponent
cssClass="timeline-resource-grouping"
width="100%"
height="650px"
selectedDate={new Date(2021, 3, 4)}
currentView="TimelineMonth"
dateHeaderTemplate={this.getDateHeaderText.bind(this)}
workDays={this.workDays}
eventSettings={{ dataSource: this.data }}
group={{ resources: ['Projects', 'Categories'] }}>
|
I'm sorry, I missed the reply or probably forgot to reply.
Thank you as always!
Best regards,
Matteo Messmer
Hi Matteo,
Thanks for the update.
Please let us know if you need any further assistance.
Regards,
Vengatesh