Set Column Heading for export/print Change any heading for export or print (Added in version 2.6)

You can change the column heading for excel,csv,pdf export and print using this function.

  
                                $pdocrud = new PDOCrud();
                                $pdocrud->exportColHeading("customerName", "Client Name");
                                echo $pdocrud->dbTable("orders")->render();
                                

Orders

Showing 1 to 10 of 82 entries

# ID Order no Order date Customer name Order amount Order status Actions
1 49 3691 2016-09-08 Cooper Jensen 75 Completed
2 50 77099 2016-09-08 20 Completed
3 51 37429 2016-09-08 77 Completed
4 52 44144 2016-09-08 Bill Xenos Clarke 26 Completed
5 53 62391 2016-09-08 Cooper Jensen 96 Completedw
6 54 54999 2016-09-08 5 Completed
7 55 83323 2016-09-08 Bradley Freeman 37 Completed
8 56 409 2016-09-08 Jasper Santiago 68 Completed
9 57 50683 2016-09-08 Hilary Conner 28 Completed
10 58 931435 2016-09-08 Zena 37 Completed
# ID Order no Order date Customer name Order amount Order status Actions