Hi John,
Greetings from Syncfusion Support..!
We have validated your shared query “identify easily whether any work/events are assigned for employees in the current view” and prepared a sample using dataBound event of the Scheduler in which number of events assigned to the each employee is shown in corresponding employee resource column, which can be viewed from the following link.
|
onDataBound(): void {
let renderedEvents = this.scheduleObj.getCurrentViewEvents();
let resCol = this.resourceDataSource;
for (let i = 0; i < resCol.length; i++) {
let eventColByRes = (renderedEvents as any).filter(
x => x.AirlineId == (resCol[i] as any).AirlineId
);
let eventsCount = 0;
for (let j = 0; j < eventColByRes.length; j++) {
eventsCount = j + 1;
}
(document.querySelectorAll(".e-resource-text")[i + 1] as any).innerText =
(resCol[i] as any).AirlineName +
" (Events : " +
eventsCount.toString() +
")";
}
} |
And for the further refence, we have taken a screenshot of the above sample,
Also in the meantime we can able to view the entire cells of the date in a single cell by disabling the timeScale property of the Scheduler and for further assistance, kindly refer to the below UG link,
Kindly try the above solutions and get back to us if you need any further assistance.
We will happy to assist you..!
Regards,
Hareesh