Inline Editing Default 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 | 141144146 | IN446258 | 25.03.2005 00:00:00 | 66071.55 | View |
2 | 141 | JE105477PAUL | 18.03.2005 00:00:00 | 120166.58 | View |
3 | 141 | JN355280 | 26.10.2003 00:00:00 | 49539.37 | View |
4 | 141 | JN722010 | 25.02.2003 00:00:00 | 40206.2 | View |
5 | 141 | MF629602 | 16.08.2004 00:00:00 | 20009.53 | View |
6 | 141 | NU627706 | 17.05.2004 00:00:00 | 26155.91 | View |
7 | 144 | IR846303 | 12.12.2004 00:00:00 | 36005.71 | View |
8 | 144 | LA685678 | 09.04.2003 00:00:00 | 7674.94 | View |
9 | 145 | CN328545 | 03.07.2004 00:00:00 | 4710.73 | View |
10 | 145 | ED39322MARK | 26.04.2004 00:00:00 | 28211.7 | View |