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 | |
---|---|---|---|---|---|
1 | 141 | MC46946 | 09.07.2004 00:00:00 | 63843.55 | View |
2 | 144 | LA685678 | 09.04.2003 00:00:00 | 63843.55 | View |
3 | 145 | CN328545 | 03.07.2004 00:00:00 | 4710.73 | View |
4 | 145 | HR182688 | 01.12.2004 00:00:00 | 20564.86 | View |
5 | 146 | FP549817 | 18.03.2004 00:00:00 | 40978.53 | View |
6 | 146 | FU793410 | 16.01.2004 00:00:00 | 49614.72 | View |
7 | 298 | LJ160635 | 10.12.2003 00:00:00 | 30000 | View |
8 | 148 | BI507030 | 22.04.2003 00:00:00 | 44380.15 | View |
9 | 148 | DD635282 | 11.08.2004 00:00:00 | 2611.84 | View |
10 | 148 | KM172879 | 26.12.2003 00:00:00 | 105743 | View |