Inline Editing
Inline Editing - Single Click on any cell and begin editing
HIDE CODE
<?php $xcrud = Xcrud::get_instance(); $xcrud->table_name('Payments - Single click cell to edit!'); $xcrud->table('payments'); $xcrud->unset_remove(); $xcrud->fields_inline('customerNumber,checkNumber,paymentDate,amount');//set the fields to allow inline editing $xcrud->unset_edit(); $xcrud->set_logging(true); echo $xcrud->render(); ?>
Payments - Single click cell to edit!
# | Customernumber | Checknumber | Paymentdate | Amount | Test1 | |
---|---|---|---|---|---|---|
1 | 10364 | OM31496 | 16.07.2020 00:00:00 | 3 | View | |
2 | 103600 | OM31491 | 23.07.2020 00:00:00 | 3 | rus | View |
3 | 11310 | HQ5502 | 20.12.2001 00:00:00 | 40000 | View | |
4 | 112 | HQ55022 | 30.07.2020 00:00:00 | 40000 | View | |
5 | 113 | GG31455 | 16.05.2003 00:00:00 | 45870 | View | |
6 | 114 | MA76552 | 15.12.2004 00:00:00 | 82261 | View | |
7 | 114 | NP60385 | 31.05.2003 00:00:00 | 7565 | View | |
8 | 114 | NR27552 | 10.03.2004 00:00:00 | 44894 | View | |
9 | 119 | DB933704 | 14.11.2004 00:00:00 | 19501.82 | View | |
10 | 119 | LN373447 | 08.08.2004 00:00:00 | 47924.19 | View |