Inline Editing (Double Click) Default theme
Inline Editing - One Column Only(Customer Number) - Double Click
HIDE CODE
<?php $xcrud = Xcrud::get_instance(); $xcrud->table_name("Employees - Inline Editing - Double Click on 'Customer Number' Column to edit!"); $xcrud->table('payments'); $xcrud->unset_remove(); $xcrud->fields_inline('customerNumber');//set the fields to allow inline editing $xcrud->inline_edit_click('double_click');//can be 'double_click' or 'single_click' $xcrud->set_logging(true); echo $xcrud->render(); ?>
Employees - Inline Editing - Double Click on 'Customer Number' Column to edit!
# | Customernumber | Checknumber | Paymentdate | Amount | |
---|---|---|---|---|---|
1 | 141144146 | IN446258 | 25.03.2005 00:00:00 | 66071.55 | View Edit |
2 | 141 | JE105477PAUL | 18.03.2005 00:00:00 | 120166.58 | View Edit |
3 | 141 | JN355280 | 26.10.2003 00:00:00 | 49539.37 | View Edit |
4 | 141 | JN722010 | 25.02.2003 00:00:00 | 40206.2 | View Edit |
5 | 141 | MF629602 | 16.08.2004 00:00:00 | 20009.53 | View Edit |
6 | 141 | NU627706 | 17.05.2004 00:00:00 | 26155.91 | View Edit |
7 | 144 | IR846303 | 12.12.2004 00:00:00 | 36005.71 | View Edit |
8 | 144 | LA685678 | 09.04.2003 00:00:00 | 7674.94 | View Edit |
9 | 145 | CN328545 | 03.07.2004 00:00:00 | 4710.73 | View Edit |
10 | 145 | ED39322MARK | 26.04.2004 00:00:00 | 28211.7 | View Edit |