[Gantt Chart] GanttView

0 Answers 39 Views
Gantt
Nico
Top achievements
Rank 1
Nico asked on 12 Sep 2024, 12:56 AM

Im using the Gantt Chart libary for React

so what im trying to do is passing a custom date range props in the GanttWeekView

<GanttWeekView dateRange={calculateWeekDateRange}/>

the problem is whenever you pass custom dateRange props to the view, it will cause the date cell on the right not rerender correctly, for example the initial date is 12th September as shown in the pics below


and i change it to 5th, the date doesnt change as shown below,

for some reason i think whenever the custom dateRange passed, it wont rerender the whole Ganttview component if the date changed, any idea how i can fix this?

Filip
Telerik team
commented on 13 Sep 2024, 03:13 PM

Hi, Nico,

I tested the Gantt Chart with a custom `dateRange`, however I was not able to observe the issue in which the GanttView is not rerendered. Can you please send me a runnable example with the `dateRange` configuration so that I can debug it locally and look for a possible solution?

Regards,
Filip

No answers yet. Maybe you can help?

Tags
Gantt
Asked by
Nico
Top achievements
Rank 1
Share this question
or