koolphp / koolreport

This is an Open Source PHP Reporting Framework which you can use to write perfect data reports or to construct awesome dashboards using PHP
https://www.koolreport.com/
MIT License
228 stars 65 forks source link

Jquery Conflict #11

Closed georgegijo closed 6 years ago

georgegijo commented 6 years ago

I integrated the koolreport with codeigniter. But jquery is in conflict smart admin ui jquery version. Can you please tell me how to avoid jquery loading from koolreport. Thanks.

lkraav commented 5 years ago

@georgegijo did you figure this out? We have the same question.

koolphp commented 5 years ago

The solution is simple that you do not include jQuery in the report, remove this following line if you have in the report:

use \koolreport\clients\jQuery;

In the latest version of KoolReport, widget will detect jQuery, if jQuery is not available then it will go to load jQuery, but if there is jQuery available (may be from your app), it will continue without loading jquery. So basically, there will be no conflict.