Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Blackmagic on Jan 14, 2010 04:15
open dhtmlx forum
Debug with more dataprocessors

Hello,

Is it possibel to declare more than one dataprocessor instance per page and still benefit of the debug facility?
For example.

grid1 = new dhtmlxGridObject();

.....

dp1 = new dataProcessor();

dp1.init(grid1);

grid2 = new dhtmlxGridObject();
dp2 = new dataProcessor();

dp2.init(grid2);

Regards,

Blackmagic

Answer posted by Alex (support) on Jan 14, 2010 07:38

Hello,

_debug.js was't designed to be used with several dataprocessors. You can try to use it, but prabably reports from all dataprocessor objects will be shown in one console.