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

# ID Order no Order date Customer name Order amount Order status Actions
1 62 34490 2016-09-08 Xenos Clarke 200 Pending
2 63 37920 2016-09-08 Xenos Clarke 67 Completed
3 64 28431 2016-09-08 Cooper Jensen 5 Completed
4 65 94701 2016-09-08 25 Completed
5 66 36440 2016-09-08 8 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 Lillith Terrell 43 Completed
10 71 91617 2016-09-08 Jaquelyn James 57 Completed
# ID Order no Order date Customer name Order amount Order status Actions