[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!
Payments – Single click cell to edit!
# |
Customernumber |
Checknumber |
Paymentdate |
Amount |
|
1 |
114 |
NP60385 |
31.05.2003 00:00:00 |
7565 |
|
2 |
119 |
LN373447 |
08.08.2004 00:00:00 |
47924.19 |
|
3 |
119 |
NG94694 |
22.02.2005 00:00:00 |
49523.677 |
|
4 |
121 |
DB889831 |
16.02.2003 00:00:00 |
50218.95 |
|
5 |
121 |
FD317790 |
28.10.2003 00:00:00 |
1491.38 |
|
6 |
121 |
KI831359 |
04.11.2004 00:00:00 |
17876.32 |
|
7 |
121 |
MA302151 |
28.11.2004 00:00:00 |
34638.14 |
|
8 |
124 |
AE215433 |
05.03.2005 00:00:00 |
101244.59 |
|
9 |
124 |
BG255406 |
28.08.2004 00:00:00 |
85410.87 |
|
10 |
124 |
CQ287967 |
11.04.2003 00:00:00 |
11044.3 |
|