Using dhtmlxGantt, dhtmlxScheduler and dhtmlx library.

Hello All,

I’m developing an internal application that will use dhtmlxGantt, dhtmlxScheduler and dhtmlx library on same page.

I’m loading all required files on page in the following order:

  1. dhtmlx.js (dhtmlxSuite v.4.0.3 Professional edition)
  2. dhtmlxScheduler (dhtmlxScheduler v.3.0 build 110727 Professional edition)
  3. dhtmlxGantt (dhtmlxGantt v.3.0.0 Professional edition)

I create a complex structure and when I try to call load’s method of a dhtmlxGrid (gridPlanilha.load(‘ProjetoV4/grid’)), I’m receiving the following error message: “Unable to process request ‘[object Arguments]’”, as can see on image1.png

I’m attaching a js with my complex interface (SMSProjectUi.js.zip).
You can note that dhtmlxScheduler object was not created yet on this file.

What I did:
dhtmlxScheduler: I try investigating about if error was caused by dhtmlxScheduler, using dhtmlxScheduler v4.1.0 standard and error persisting.

If I comment out dhtmlxGantt object creation, load can be executed normally.

What I need to do to resolve this?

Best regards,

Luis Fernando.
SMSProjectUI.js.zip (11.1 KB)


Hello All,

I found something interesting… when I include Scheduler, the problem occours. If I comment out scheduler, works like a charm.

Best regards,

Luis Fernando.

Hello,
maybe the problem is in order of including of components to the page.
Try following order:[code]

[/code]

In our local example it does not create issues and data loading works correctly.
Regarding your error message:
What creates this request? I can not find where this url is created in the attached file. It seems like the argument was concatenated to the url string incorrectly, and your backend returns an error for such request

Hello Aliaksandr,

Thanks for the answer.

It works like a charm!

Best regards.

Luis Fernando