Hi everyone
the situation is simple. I have experimenting issue with multiple data processors so I tried to do a simple test to identify my mistake.
I tried to create 2 identical grids, same code, linked with 2 different data processor.
In the first grid…when I am updating the grid, I can see in the debug console provided with dhtmlxdataprocessor_debug.js the request send to the server side with all needed details
but for the second one …nothing…and the data are updated on server. so if I use it in a different context with different grids, data, code ,… when i have a bug I cannot debug it
Is there a way to solve it and make this console working any time??
Thanks in advance
D.
Here the code i used for my test. Very simple code.
grid1 = new dhtmlXGridObject('grid1_container');
grid1.setImagePath("../codebase/imgs/");
grid1.setHeader("Type de Groupe, Label, Description");
grid1.setInitWidths("105,110,175");
grid1.setColAlign("left,left,left");
grid1.setColTypes("coro,ed,ed");
grid1.setColSorting("int,str,str");
grid1.setSkin("dhx_skyblue");
grid1.init();
grid1.loadXML("../codebase/php/get_acl_group.php");
DataProcessor1 = new dataProcessor("../codebase/php/update_acl_group.php");
DataProcessor1.init(grid1);
grid2 = new dhtmlXGridObject('grid2_container');
grid2.setImagePath("../codebase/imgs/");
grid2.setHeader("Type de Groupe, Label, Description");
grid2.setInitWidths("105,110,175");
grid2.setColAlign("left,left,left");
grid2.setColTypes("coro,ed,ed");
grid2.setColSorting("int,str,str");
grid2.setSkin("dhx_skyblue");
grid2.init();
grid2.loadXML("../codebase/php/get_acl_group.php");
DataProcessor2 = new dataProcessor("../codebase/php/update_acl_group.php");
DataProcessor2.init(grid2);