Good afternoon
Could you help me with an example of how I can export ArrayDataSource to excel, I have it this way:
`
<?php
        \koolreport\excel\Table::create(array(
            "dataSources"=>array(
                "array_example_datasource"=>array(
                    "class"=>'\koolreport\datasources\ArrayDataSource',
                    "dataFormat"=>"associate",
                    "data"=>array(
                        array("customerName"=>"Johny Deep","dollar_sales"=>100),
                        array("customerName"=>"Angelina Jolie","dollar_sales"=>200),
                        array("customerName"=>"Brad Pitt","dollar_sales"=>200),
                        array("customerName"=>"Nocole Kidman","dollar_sales"=>100),
                    )
                ),
            )
            ));
    ?>
And in this way I also tried
$this->dataStore('data')->data(array(
array("customerName"=>"Johny Deep","dollar_sales"=>100),
array("customerName"=>"Angelina Jolie","dollar_sales"=>200),
array("customerName"=>"Brad Pitt","dollar_sales"=>200),
array("customerName"=>"Nocole Kidman","dollar_sales"=>100)
)); <?php
    if ($tipoReporte == 1 || $tipoReporte == 3) {
        \koolreport\excel\Table::create(array(
            "dataSource" => $this->dataStore("data")->data()
            ));
    }
   ?>
But when exporting the Excel document does not bring the data.
regards