KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

SubReport and AJAX working under Wordpress Site #1106

Open Peter Zuill opened this topic on on Sep 30, 2019 - 3 comments

Peter Zuill commented on Sep 30, 2019

Followed the Sample SubReport to get a working AJAX page. What changes do I need to make to have this work on a Wordpress Site?

KoolReport commented on Sep 30, 2019

You do not need to change anything. All you need to do is to render the MainReport in wordpress, make sure that the MainReport is not rendered inside another ajax call, otherwise sub-report may not work correctly.

Peter Zuill commented on Oct 1, 2019

Yes. Found I was getting '$ is not a function' in the Browser Console. Added 'use \koolreport\clients\jQuery;' to my Report Class and seems to work fine now.

KoolReport commented on Oct 1, 2019

Awesome!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

None