Edit Single Cell Excel like editing of table cell on click (Added in version 3.7)

If you want to edit a single cell value directly similar to spreadsheet editing, you can easily do by enabling "tableCellEdit". On click on table rows, it shows the value inside the input text box. You can edit the value inside the input type text. You need to press enter to save the value. You can click on any table cell to edit the value directly.
Limitations:

  • Doesn't work with join.
  • Support input type of text field only.
  • Doesn't support field formatting and field validation.

  
                                    $pdocrud = new PDOCrud();
                                    $pdocrud->setSettings("tableCellEdit", true);
                                    echo $pdocrud->dbTable("orders")->render();
                                

Orders

Showing 1 to 10 of 79 entries

# ID Order no Order date Customer name Order amount Order status Actions
1 43 62940555 2016-09-15 Deacon Tyson 1201 Completed
2 45 40334 2016-09-08 Xenos Clarke 87 Completed
3 46 30771 2016-09-08 Cooper Jensen 461 Completed
4 47 96349 2016-09-09 71 Completed
5 48 72881 2016-09-08 18 Completed
6 49 3691 2016-09-08 75 Completed
7 50 77099 2016-09-08 20 Completed
8 52 44144 2016-09-08 26 Completed
9 53 62391 2016-09-08 96 Completed
10 54 54999 2016-09-08 5 Completed
# ID Order no Order date Customer name Order amount Order status Actions