Inline Editing Minimal theme
Inline Editing - Single Click on any cell and begin editing
HIDE CODE
SHOW 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!
Payments - Single click cell to edit!
# | Customernumber | Checknumber | Paymentdate | Amount | |
1 | 209 | PH785937 | 04.05.2004 00:00:00 | 36069.26 | View |
2 | 211 | BJ535230 | 09.12.2003 00:00:00 | 45480.79 | View |
3 | 216 | MM342086 | 14.12.2003 00:00:00 | 40473.86 | View |
4 | 219 | BN17870 | 02.03.2005 00:00:00 | 3452.75 | View |
5 | 219 | BR941480 | 18.10.2003 00:00:00 | 4465.85 | View |
6 | 227 | MQ413968 | 31.10.2003 00:00:00 | 36164.46 | View |
7 | 227 | NU21326 | 02.11.2004 00:00:00 | 53745.34 | View |
8 | 233 | II180006 | 01.07.2004 00:00:00 | 22997.45 | View |
9 | 239 | NQ865547 | 15.03.2004 00:00:00 | 80375.24 | View |
10 | 240 | IF245157 | 16.11.2004 00:00:00 | 46788.14 | View |