Hi. This is Hammad. I have a query. I need a specific events list that is assigned to each resource. I am using Bryntum Scheduler Pro. From which key, I can get a list of events that are assigned to each resource.
columns: [
{ type: 'tree', text: 'Name', field: 'name', width: 180, tree: true, showRole: true },
{ text: 'Designation', field: 'designation', width: 90 },
{ text: 'Actions', type: 'action', width: 50, align: 'center',
actions: [{
cls: 'b-fa b-fa-fw b-fa-plus',
tooltip: ({ record }: any) =>
record.originalData.type == 'c' ? 'Add Project' : 'Add Resource',
renderer: ({ record }: any) =>
record.originalData.type != 'r' ? (record.originalData.type == 'c' ?
'<i style="cursor: pointer;" class="b-action-item b-fa b-fa-plus"></i>' :
'<i style="cursor: pointer;" class="b-action-item b-fa b-fa-plus"></i>') : '',
onClick: ({record, eventRecord}: any) => {
this.onSelectChange(record, eventRecord);
}
}]
}
],
On this onSelectChange the object, I receive where I did not find any list of events.