Inline Editing (Double Click)
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 | Test1 | |
---|---|---|---|---|---|---|
1 | 141 | JN722010 | 12.02.2003 00:00:00 | 50 | View Edit | |
2 | 141 | KT52578 | 09.12.2003 00:00:00 | 63843.55 | View Edit | |
3 | 141 | MC46946 | 09.07.2004 00:00:00 | 35420.74 | View Edit | |
4 | 141 | MF629602 | 16.08.2004 00:00:00 | 20009.53 | View Edit | |
5 | 141 | NU627706 | 17.05.2004 00:00:00 | 26155 | View Edit | |
6 | 144 | IR846303 | 12.12.2004 00:00:00 | 36005.71 | View Edit | |
7 | 144 | LA685678 | 09.04.2003 00:00:00 | 7674.94 | View Edit | |
8 | 145 | CN328545 | 03.07.2004 00:00:00 | 4710.73 | View Edit | |
9 | 145 | ED39322 | 26.04.2004 00:00:00 | 28211.7 | View Edit | |
10 | 145 | HR182688 | 01.12.2004 00:00:00 | 20564.86 | View Edit |