Inline Editing Semantic UI theme
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 | 128 | FA465482 | 18.10.2003 00:00:00 | 22221 | View | |
2 | 129 | ID449593 | 11.12.2003 00:00:00 | 201 | View | |
3 | 131 | CL442705 | 12.03.2003 00:00:00 | 201 | View | |
4 | 77848 | 8777373 | 28.07.2020 00:00:00 | 201 | View | |
5 | 141 | DB583216 | 01.11.2004 00:00:00 | 201 | View | |
6 | 141 | DL460618 | 19.05.2005 00:00:00 | 201 | View | |
7 | 141 | HJ32686 | 30.01.2004 00:00:00 | 201 | View | |
8 | 141 | ID10962 | 31.12.2004 00:00:00 | 201 | View | |
9 | 141 | IN446258 | 25.03.2005 00:00:00 | 65071.26 | View | |
10 | 141 | JE105477 | 18.03.2005 00:00:00 | 120166.58 | View |