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 114 MA76552 15.12.2004 00:00:00 82261
2 114 NP60385 31.05.2003 00:00:00 7565
3 119 LN373447 08.08.2004 00:00:00 47924.19
4 119 NG94694 22.02.2005 00:00:00 49523.677
5 121 DB889831 16.02.2003 00:00:00 50218.95
6 121 FD317790 28.10.2003 00:00:00 1491.38
7 121 KI831359 04.11.2004 00:00:00 17876.32
8 121 MA302151 28.11.2004 00:00:00 34638.14
9 124 AE215433 05.03.2005 00:00:00 101244.59
10 124 BG255406 28.08.2004 00:00:00 85410.87

Search