Hi team,
I am using schedulerPro with resource histogram, an overridding the calculationAllocation method in base.ResourceAllocationInfo.
Can you tell me how the assignments (calculated at the beginning of the method) is calculated?
I haven't change the part of the custom method where the assignments are calculated.
The reason I am asking this, is that the assignments are empty depending on the columns of the schedulerPro, and I am investigating the cause.
*calculateAllocation() {
const result = [],
ticksCalendar = yield this.ticks,
//$.ticks,
resource = yield this.$.resource,
includeInactiveEvents = yield this.$.includeInactiveEvents,
assignments = yield resource.$.assigned,
assignmentsByCalendar = new Map(),
eventRanges = []; // collect the resource assignments into assignmentsByCalendar map
...
}
I would appreciate your support.