Is there a secure way to include several dhtmlx-Modules in the page header?
Which order is recommended?
We’ve encountered a nasty bug today; the dataprocessor functionality will be broken when connector.js is included first.
broken:
good:
Hello,
connector libraries should be always included last. They contain code that call methods of other components.
You can follow “from common to dependent” the schema for the libraries order:
1. dhtmlxcommon.js
2. main component libraries, for example:
dhtmlxgrid.js
dhtmlxgridcell.js
3. component extentions that you want to use, for example:
dhtmlxgrid_filter.js
4. if there are more components (for example you use also tree), points 2 and 3 for these components
5. dataprocessor
6. connector