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

# ID Order no Order date Customer name Order amount Order status Actions
1 267 1 2023-04-04 Xenos Clarke 3212 1
2 268 0 0000-00-00 Cooper Jensen 656 a
3 269 1 0000-00-00 Xenos Clarke 1 1
4 270 0 0000-00-00 Xenos Clarke 0
5 271 100 2023-04-20 1020 Completed
6 272 1 2023-04-05 100 2
7 273 12 2023-04-06 Xenos Clarke 5 Completed
8 274 3453 2023-04-19 0 sdaf
9 275 0 0000-00-00 0
10 276 0 0000-00-00 0
# ID Order no Order date Customer name Order amount Order status Actions