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

# ID Order no Order date Customer name Order amount Order status Actions
1 70 58 2016-09-08 Xenos Clarke 43 Completed
2 76 18 2016-09-08 Xenos Clarke 24 Completed
3 77 75674 2016-09-08 Xenos Clarke 39 Completed
4 78 65775 2016-09-10 Xenos Clarke 25 Completed
5 79 37102 2016-09-08 Xenos Clarke 7 Completed
6 80 74040 2016-09-08 Xenos Clarke 59 Completed
7 81 89592 2016-09-08 Xenos Clarke 76 Completed
8 82 84334 2016-09-08 Deacon Tyson 4 Completed
9 83 91414 2016-09-08 Deacon Tyson 91 Completed
10 84 89834 2016-09-08 Xenos Clarke 41 Completed
# ID Order no Order date Customer name Order amount Order status Actions