Inline Edit

[xcrud]    
    $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();
[/xcrud]

Payments – Single click cell to edit!

# Customernumber Checknumber Paymentdate Amount  
1 112 HQ55022 30.07.2020 00:00:00 99
2 113 GG31455 16.05.2003 00:00:00 45870
3 114 MA76552 15.12.2004 00:00:00 82261
4 114 NP60385 31.05.2003 00:00:00 7565
5 119 LN373447 08.08.2004 00:00:00 47924.19
6 119 NG94694 22.02.2005 00:00:00 49523.677
7 121 DB889831 16.02.2003 00:00:00 50218.95
8 121 FD317790 28.10.2003 00:00:00 1491.38
9 121 KI831359 04.11.2004 00:00:00 17876.32
10 121 MA302151 28.11.2004 00:00:00 34638.14

Search