Our state of the art Gantt chart


Post by deepak »

In the gantt config which we pass to bryntum react wrapper component, there is a custom react component used in renderer method in column config as below:

renderer: ({ record }: { record }): ReactNode => <CustomComponent data={record}>

Whenever the record is getting updated, renderer method is getting called with new record data but the CustomComponent is not getting called due to which the UI is not getting updated

Instead of CustomComponent, if a simple string is rendered, UI is getting updated with the latest data.

Unfortunately, the bryntum gantt examples for React doesn't have live code editor to update and share test case.

Hope the issue is clear, can I get some help here?


Post by alex.l »

Hi deepak,

It doesn't sound like the problem in renderer, but we should check it.
Could you please attach a test case that we could debug?
You can find the source code of our React examples in the sources you downloaded, in examples/frameworks/react folder.

All the best,
Alex


Post Reply