Our pure JavaScript Scheduler component


Post by peter4ef »

Got and error while scrolling the histogram (project is attached).

ResourceHistogram.js:976 Uncaught TypeError: Cannot destructure property 'allocation' of '_ref563' as it is undefined.
    at ResourceHistogram.js:976:1
    at Array.every (<anonymous>)
    at ResourceHistogram.calculateResourceGroupAllocation (ResourceHistogram.js:975:1)
    at ResourceHistogram.renderGroupHistogram (ResourceHistogram.js:1024:1)
    at ResourceHistogram.renderScheduledGroups (ResourceHistogram.js:952:1)
    at Delayable.js:342:1
    

Also, I need a way to hide some items from the histogram, hide it visually but not exclude them from group calculation. Would be nice if you can provide an example.

Thanks!

Attachments
department-example.rar
project where you can reproduce the issue.
(203.96 KiB) Downloaded 38 times

Post by peter4ef »

also to start project you will need to create .npmrc file with access credentials


Post by alex.l »

Bug has been reproduced, here is a ticket: https://github.com/bryntum/support/issues/4423
Regarding to your request for filter data on render level - it is not supported now, I've opened a feature request to implement that: https://github.com/bryntum/support/issues/4424

Thank you for your report!

All the best,
Alex


Post by peter4ef »

Do you have any idea in what timeframe this will be fixed?


Post by tasnim »

Hi,
Can't make any promise that when it will be fixed. But as it has a milestone of v5.1.x we can hope to have it fixed asap. Please subscribe to the ticket, so that when it gets resolved it will notify you.

Good Luck :),
Tasnim


Post Reply