I am trying to load data from JSON file into DHTMLX Grid but It does not load. I am accessing my HTML file through IIS. I am using Grid.Load(filename.json, function(), “json”) method. All files and IIS are on same machine and I am trying to load html file from same machine.
It loads data fine if I access HTML file directly but not from iIS(localhost:….).
When I did debug it, I got an error: “*.json 404 (Not Found)”.
Unfortunately the issue cannot be reproduced locally.
As the error is 404 please, make sure that the path is defined correctly.
If the problem still occurs for you please, provide with a complete demo, where the problem can be reconstructed locally.
Here you can find a tutorial about creating a complete demo: docs.dhtmlx.com/tutorials__auxil … pport.html
Its very easy to reproduce. Just deploy DTMLXsuite folder on IIS and try to browse
“dhtmlxSuite_v411_pro\samples\dhtmlxGrid\12_initialization_loading\09_init_grid_json.html” .
You can see that browser shows just blank table. I have attached snapshot of IIS and browser.