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 119 NG94694 22.02.2005 00:00:00 49523.64
2 121 DB889831 16.02.2003 00:00:00 50218.95
3 121 FD317790 28.10.2003 00:00:00 3000
4 121 KI831359 04.11.2004 00:00:00 17876.32
5 121 MA302151 28.11.2004 00:00:00 34638.14
6 124 AE215433 05.03.2005 00:00:00 101244.59
7 124 BG255406 28.08.2004 00:00:00 85410.87
8 124 CQ287967 11.04.2003 00:00:00 11044.3
9 124 ET64396 16.04.2005 00:00:00 83598.04
10 124 HI366474 27.12.2004 00:00:00 47142.7

Search