Our state of the art Gantt chart


Post by sidyfall »

Hi,
I'm currently working on display data in Bryntum ResourceUtilization and I want to know if it's possible to customize a row like:

  • (point (1) of the image): display only data for some dates
  • point (2): avoid duplicate label and merge the both data before displaying

Please, is there any operations, events listener or whatever to handle it ?

Attachments
Screenshot_20220513_121524-1.png
Screenshot_20220513_121524-1.png (36.44 KiB) Viewed 277 times

Post by alex.l »

This component is only for displaying data. The easiest way to show something custom - load data that already filtered into its project.

(point (1) of the image): display only data for some dates

Not supported. You'll need to override the source code. You need to find ResourceUtilization.js::getRecordAllocationInfoRenderData method and change data in allocation array. Check the data structure, it contains reports for every tick of timeAxis.

point (2): avoid duplicate label and merge the both data before displaying

If you have 2 resources with different ids but same name, it will be displayed like that. Also nothing built-in for data filtering. You will be needed to implement that logic by your own.

All the best,
Alex


Post by sidyfall »

Thanks for your reply. Really appreciate.


Post Reply