Dear Bryntum,
We would like to ask for your help regarding the following issue. We need an Excel export that only generates an export for a specific day and for certian resource. As fas as I can see, the export function has a configuration where we can specify which rows to export. Unfortunately, this is not working, because no matter how I filter the events, it always returns all of them.
tbar={{
items: {
export: {
type: 'button',
text: 'Exportálás',
icon: 'b-fa b-fa-file-excel',
onClick: () => calendar.current?.instance.features.excelExporter.export({
rows: eventStore.records.filter((record: Model) => {
console.log(record);
console.log(record.getData('resourceId'));
console.log(ResourceID.SZERVIZ_KOZPONT);
return record.getData('resourceId') === ResourceID.SZERVIZ_KOZPONT;
}),
})
},
},
}}
I really appreciate your answer.
Best Regards,
Adri