Syncfusion greetings.
We have achieved your requirement using dataBound and actionComplete events.
onBound() {
if (Browser.isDevice && this.flag && this.scheduleObj.currentView === "Month") {
this.custom();
}
}
onComplete(args) {
if (Browser.isDevice && (args.requestType === "dateNavigate" || args.requestType === "viewNavigate") && this.scheduleObj.currentView === "Month") {
this.custom();
}
}
custom() {
var collection = document.querySelectorAll('.e-date-header');
var count = collection.length;
for (var i = 0; i < count; i++) {
if (collection[i].innerText === "1") {
var date = collection[i].offsetParent.getAttribute('data-date');
var intl = new Internationalization();
var dFormatter = intl.getDateFormat({ skeleton: 'MMMd', type: 'date' });
var formattedString = dFormatter(new Date(parseInt(date)));
collection[i].innerHTML = formattedString;
this.flag = false;
}
}
}
Regards,
Karthi