KoolReport's Forum

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

DrillDown MultiView #818

Closed SOFMAN opened this topic on on Apr 18, 2019 - 2 comments

SOFMAN commented on Apr 18, 2019

I have the following code:

<?php $myVariablePHP?>
. 
.
.
 MultiView::create(array(
    "name" => "multiviewer2",
    "dataSource" => $this->dataStore("ventasHoy"),
    "clientEvents" => array(
        "changed" => "function(params){
            var myVariable=params.index;
         }",
     ),
....));

How to pass the variable MyVariable to php code, for example to the variable $myVariablePHP

KoolReport commented on Apr 19, 2019

the myVariable there is at client-side (or browser), you may use ajax to send that value to server. Could you please tell me what you are trying to complete?

SOFMAN commented on Apr 22, 2019

I am trying to export a Multiview (contains 4 different graphics) to PDF and I need to obtain the position of the selected multivew to export the corresponding graphic

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
None yet

DrillDown