KoolReport's Forum

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

Get active dashboard #2788

Closed GHSix opened this topic on on Aug 8 - 5 comments

GHSix commented on Aug 8

Instead of


How to get the active/last loaded dashoboard? i.e.

KoolReport commented on Aug 8

You can do:

GHSix commented on Aug 8

And if I´m outside of the dashboard, like on the menu or topMenu?

KoolReport commented on Aug 8

Let say your Dashboard has an action like this:

class MyDashboard extends Dashboard
    protected function actionDoSomething($request, $response)


At topMenu you can call MyDashboard action at server by following javascript (MyDashboard is an active dashboard)

GHSix commented on Aug 8

Dude, that's gold.

This info got to get into the docs!

Thank you

KoolReport commented on Aug 9

Will be in the docs :)

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
help needed