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 105 entries

# ID Order no Order date Customer name Order amount Order status Actions
1 80 74040 2016-09-10 52 Completed
2 82 84334 2016-09-08 Xenos Clarke 7 Completed
3 83 91414 2016-09-08 Xenos Clarke 91 Completed
4 85 71212 2016-09-08 33 Completed
5 86 14459 2016-09-08 43 Completed
6 87 22844 2016-09-08 17 Completed
7 88 43892 2016-09-08 55 Completed
8 89 72412 2016-09-08 22 Completed
9 90 64889 2016-09-08 Xenos Clarke 46 Completed
10 91 5518 2016-09-08 Cooper Jensen 64 Completed
# ID Order no Order date Customer name Order amount Order status Actions