slot gacor
slot gacor
Inline Editing (Nested Tab) - Bootstrap 5 theme - eXtended CRUD & Data Management System
DEMO SITE v1.7.26

Inline Editing (Nested Tab) Bootstrap 5 theme

Do inline editing to tables inside tabs

HIDE CODE
<?php  
	$xcrud = Xcrud::get_instance();
    $xcrud->table('orders');
	$xcrud->fields_inline('orderNumber,orderDate,requiredDate,shippedDate,comments');//set the fields to allow inline editing
    $xcrud->default_tab('Order info');
    
    $orderdetails = $xcrud->nested_table('Order details','orderNumber','orderdetails','orderNumber'); // 2nd level
    $orderdetails->fields_inline('productCode,quantityOrdered,priceEach');//set the fields to allow inline editing
    $orderdetails->columns('productCode,quantityOrdered,priceEach');
    $orderdetails->fields('productCode,quantityOrdered,priceEach');
    $orderdetails->default_tab('Detail information');
    
    $customers = $xcrud->nested_table('Customers','customerNumber','customers','customerNumber'); // 2nd level 2
    $customers->columns('customerName,city,country');
    
    $products = $orderdetails->nested_table('Products','productCode','products','productCode'); // 3rd level
    $products->default_tab('Product details');
    
    $productLines = $products->nested_table('Product Lines','productLine','productlines','productLine'); // 4th level
    
    echo $xcrud->render();
	
?>

Orders

#OrderdateRequireddateShippeddateStatusActionCommentsCustomernumber
Actions
114.11.2024 00:00:0022.11.2024 00:00:00Shipped0129 View Edit Remove
224.03.2003 00:00:0003.04.2003 00:00:0029.03.2003 00:00:00Shipped0Customer requested that ad materials (such as…144 View Edit Remove
326.03.2003 00:00:0002.04.2003 00:00:0027.03.2003 00:00:00Completed0124 View Edit Remove
404.04.2003 00:00:0012.04.2003 00:00:0007.04.2003 00:00:00Shipped0424 View Edit Remove
511.04.2003 00:00:0019.04.2003 00:00:0013.04.2003 00:00:00Shipped0381 View Edit Remove
616.04.2003 00:00:0024.04.2003 00:00:0017.04.2003 00:00:00Shipped0148 View Edit Remove
721.04.2003 00:00:0029.04.2003 00:00:0026.04.2003 00:00:00Shipped0Customer has worked with some of our vendors in…216 View Edit Remove
828.04.2003 00:00:0005.05.2003 00:00:0002.05.2003 00:00:00Shipped0382 View Edit Remove
929.04.2003 00:00:0008.05.2003 00:00:0001.05.2003 00:00:00Shipped0114 View Edit Remove
1007.05.2003 00:00:0013.05.2003 00:00:0013.05.2003 00:00:00Shipped0353 View Edit Remove
Search
 
slot thailand
slot thailand slot gacor
slot gacor