KoolReport's Forum

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

Export to pdf datatables order options not working #2599

Open FIMM opened this topic on on Feb 28, 2022 - 1 comments

FIMM commented on Feb 28, 2022

DataTables::create([

        "dataSource"=>$this->dataStore("CASENQUIRY"),
        "options"=>array(
            "order"=>array(
               array(0,"desc"), //Sort by first column desc
           ),
       ),

This one not ordering data

Sebastian Morales commented on Mar 2, 2022

If your 1st column is of type number with formatting pls check this answer:

https://www.koolreport.com/forum/topics/1780#p9541

Otherwise, pls post the screenshot of the wrong order in your 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
help needed

None