KoolReport's Forum

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

Dashboard.php Excel #1195

Open Oya Kaynar opened this topic on on Dec 2, 2019 - 2 comments

Oya Kaynar commented on Dec 2, 2019

I created a datatable on my dashboard.php page. $query = "..."; $data = $db->getAll($query, null, null, null, MDB2_FETCHMODE_ASSOC); <?php

    DataTables::create(array(
        "dataSource"=>$lastresult,
        "columns"=>array(
            '0' => array('label' => 'Hizmetler'),
            '6' => array('label' => '6 Ay'),
        )
    ));

?> I want to add an export button to the page I made.

Oya Kaynar commented on Dec 2, 2019

Fatal error: Uncaught Error: Call to undefined method Closure::meta() in /../koolreport/excel/Table.php:330

David Winterburn commented on Dec 3, 2019

Hi,

Please post your full report's php code for us to check it for you. Thanks!

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

Export