Inline Editing (Multiple Instances) Bootstrap 4.5 theme
Inline Editing for two xcrud instances
HIDE CODE
<?php $xcrud1 = Xcrud::get_instance(); $xcrud1->table('orders'); $xcrud1->fields_inline('orderNumber,orderDate,requiredDate,shippedDate,comments');//set the fields to allow inline editing echo $xcrud1->render(); $xcrud2 = Xcrud::get_instance(); $xcrud2->table('payments'); $xcrud2->fields_inline('customerNumber,checkNumber,paymentDate,amount');//set the fields to allow inline editing echo $xcrud2->render(); ?>
Orders
# | Orderdate | Requireddate | Shippeddate | Status | Action | Comments | Customernumber | |
---|---|---|---|---|---|---|---|---|
1 | 21.11.2024 00:00:00 | 22.11.2024 00:00:00 | Shipped | 0 | 129 | View Edit Remove | ||
2 | 24.03.2003 00:00:00 | 03.04.2003 00:00:00 | 29.03.2003 00:00:00 | Shipped | 0 | Customer requested that ad materials (such as | 144 | View Edit Remove |
3 | 26.03.2003 00:00:00 | 02.04.2003 00:00:00 | 27.03.2003 00:00:00 | Shipped | 0 | 124 | View Edit Remove | |
4 | 04.04.2003 00:00:00 | 12.04.2003 00:00:00 | 07.04.2003 00:00:00 | Shipped | 0 | 424 | View Edit Remove | |
5 | 11.04.2003 00:00:00 | 19.04.2003 00:00:00 | 13.04.2003 00:00:00 | Shipped | 0 | 381 | View Edit Remove | |
6 | 16.04.2003 00:00:00 | 24.04.2003 00:00:00 | 17.04.2003 00:00:00 | Shipped | 0 | 148 | View Edit Remove | |
7 | 21.04.2003 00:00:00 | 29.04.2003 00:00:00 | 26.04.2003 00:00:00 | Shipped | 0 | Customer has worked with some of our vendors in | 216 | View Edit Remove |
8 | 28.04.2003 00:00:00 | 05.05.2003 00:00:00 | 02.05.2003 00:00:00 | Shipped | 0 | 382 | View Edit Remove | |
9 | 29.04.2003 00:00:00 | 08.05.2003 00:00:00 | 01.05.2003 00:00:00 | Shipped | 0 | 114 | View Edit Remove | |
10 | 07.05.2003 00:00:00 | 13.05.2003 00:00:00 | 13.05.2003 00:00:00 | Shipped | 0 | 353 | View Edit Remove |
Payments
# | Customernumber | Checknumber | Paymentdate | Amount | Test1 | |
---|---|---|---|---|---|---|
1 | 11 | simonepppp | 19.12.2004 00:00:00 | 100 | 33 | View Edit Remove |
2 | 114 | NP60385 | 31.05.2003 00:00:00 | 100 | View Edit Remove | |
3 | 114 | NR27552 | 10.03.2004 00:00:00 | 100 | View Edit Remove | |
4 | 119 | DB933704 | 14.11.2004 00:00:00 | 100 | View Edit Remove | |
5 | 124 | AE215433 | 05.03.2005 00:00:00 | 82261009 | View Edit Remove | |
6 | 124 | BG255406 | 28.08.2004 00:00:00 | 82261 | View Edit Remove | |
7 | 124 | CQ287967 | 11.04.2003 00:00:00 | 82261009 | View Edit Remove | |
8 | 124 | ET64396 | 16.04.2005 00:00:00 | 82261 | View Edit Remove | |
9 | 124 | HI366474 | 27.12.2004 00:00:00 | 47142.7 | View Edit Remove | |
10 | 124 | HR86578 | 02.11.2004 00:00:00 | 55639.66 | View Edit Remove |