KoolReport's Forum

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

Assign id or name to table #784

Open najam opened this topic on on Apr 6, 2019 - 3 comments

najam commented on Apr 6, 2019

Hi Support,

Is there a way to assign an "id" or "name" to a table?

Thanks

KoolReport commented on Apr 6, 2019

Yes, you do:

Table::create(array(
    "name"=>"my-table-name"
));
najam commented on Apr 6, 2019

Dear support,

I already tried this but when I inspect the code in a browser the table doesn't show the name attribute.

Table::create(array(

        "name"=>"report1",
        "dataStore"=>$this->dataStore("caselist"),

KoolReport commented on Apr 8, 2019

We've checked and it seems working well. May I know what version of KoolReport are you using? is it the latest one. Please check if you applied the name to correct table.

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

Export