Re render scheduler


#1

Hi team…
I have a little problem. I want to re render the Gantt chart according to the data I get from the AJAX.
Nothing is working right.
Please suggest something as our production application’s performance is being compromised.

Best regards


#2

will i ever get a reply?


#3

Hi @aqdus,

The name of a topic is “Re render scheduler”, but also you write that you “want to re render the Gantt chart”.
As Gantt and Scheduler are different components, could you please clarify which one did you mean?

Also, could you please clarify, what do you mean as

“Nothing is working right.”?

It’s hard to suggest what goes wrong, as I don’t know what exactly is the issue.

In the case of the scheduler, you can manually re-render it by calling the render()method: https://docs.dhtmlx.com/scheduler/api__scheduler_render.html or with thesetCurrentView` method, which does the same https://docs.dhtmlx.com/scheduler/api__scheduler_setcurrentview.html

Here is the render method for gantt:
https://docs.dhtmlx.com/gantt/api__gantt_render.html

Kind regards,