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 | MC46946 | 09.07.2004 00:00:00 | 35420.74 | View Edit | |
| 2 | 141 | MF629602 | 16.08.2004 00:00:00 | 35420.74 | View Edit | |
| 3 | 141 | NU627706 | 17.05.2004 00:00:00 | 26155 | View Edit | |
| 4 | 144 | IR846303 | 12.12.2004 00:00:00 | 36005.71 | View Edit | |
| 5 | 144 | LA685678 | 09.04.2003 00:00:00 | 7674.94 | View Edit | |
| 6 | 145 | CN328545 | 03.07.2004 00:00:00 | 4710.73 | View Edit | |
| 7 | 145 | ED39322 | 26.04.2004 00:00:00 | 28211.7 | View Edit | |
| 8 | 145 | JJ246391 | 20.02.2003 00:00:00 | 53959.21 | View Edit | |
| 9 | 146 | FP549817 | 18.03.2004 00:00:00 | 40978.9 | View Edit | |
| 10 | 146 | FU79341089 | 16.01.2004 00:00:00 | 49614.9 | View Edit |