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

# ID Order no Order date Customer name Order amount Order status Actions
1 62 34490 2016-09-08 Cooper Jensen 88 Completed
2 63 37920 2016-09-08 0 Completed
3 64 28431 2016-09-08 0 Completed
4 65 94701 2016-09-08 0 Completed
5 66 36440 2016-09-08 0 Completed
6 67 37251 2016-09-08 64 Completed
7 68 35643 2016-09-08 95 Completed
8 69 9551 2016-09-08 89 Completed
9 70 44898 2016-09-08 43 Completed
10 71 91617 2016-09-08 57 Completed
# ID Order no Order date Customer name Order amount Order status Actions