Inline Editing (Double Click) Bootstrap 5 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 | 129 | ID449593 | 11.12.2003 00:00:00 | 200 | View Edit |
2 | 131 | CL442705 | 12.03.2003 00:00:00 | 200 | View Edit |
3 | 131 | MA724562 | 02.12.2004 00:00:00 | 160 | View Edit |
4 | 131 | NB445135 | 11.09.2004 00:00:00 | 160 | View Edit |
5 | 141 | AU364101 | 19.07.2003 00:00:00 | 160 | View Edit |
6 | 141 | DB583216 | 01.11.2004 00:00:00 | 160 | View Edit |
7 | 141 | DL460618 | 19.05.2005 00:00:00 | 160 | View Edit |
8 | 141 | HJ32686 | 30.01.2004 00:00:00 | 160 | View Edit |
9 | 141 | ID10962 | 31.12.2004 00:00:00 | 160 | View Edit |
10 | 141 | IN446258 | 25.03.2005 00:00:00 | 65071.26 | View Edit |