Download Laravel-xCRUD Integration Full Code that includes this full demo


<?php

namespace App\Http\Controllers;

use 
Illuminate\Http\Request;

class 
xRelationGroupingController extends Controller
{
    public function 
index()
    {
        
$xcrud Xcrud_get_instance();
        
$xcrud->table('gallery');
        
$xcrud->change_type('image''image'false, array(
            
'width' => 450,
            
'path' => '../uploads/gallery',
            
'thumbs' => array(array(
                    
'height' => 55,
                    
'width' => 120,
                    
'crop' => true,
                    
'marker' => '_th'))));
 
        
$xcrud->column_callback("active","getStatusSwitchRadio_Gallery");
        
$xcrud->create_action("deactivate_gallery","deactivate_gallery");
        
$xcrud->create_action("activate_gallery","activate_gallery");
        
$render $xcrud->render();   
        return 
view('xcrud_simple', ['render' => $render]);
        
    }
}

Employees - Single click cell to edit! Save by Enter only

#LastnameFirstnameExtensionEmailOfficecodeReportstoJobtitle 
Officecode: (1 items)
1essaitotototo.essai@myoffice.comSales Manager (APAC) 234 View Edit Remove
Officecode: London (2 items)
2Bondured1Gerard23totogerard23.bondured1@myoffice.comLondon1050Sale Manager (EMEA) View Edit Remove
10BondurLouix6493lbondur@classicmodelcars.comLondon1102Sales Rep View Edit Remove
Officecode: Sydney (1 items)
3BowAnthony8x5428anthony8.bow@myoffice.comSydney1056Sales Manager (NA) View Edit Remove
Officecode: Tokyo (2 items)
4JenningsLesliex540ljennings@classicmodelcars.comTokyo1143Sales Rep 2 View Edit Remove
8TsengFoon Yueo224ftseng@classicmodelcars.comTokyo1143Sales Rep View Edit Remove
Officecode: San Francisco (1 items)
5ThompsonLesliex4065lthompson@classicmodelcars.comSan Francisco1143Sales Rep 3 View Edit Remove
Officecode: Boston (2 items)
6FirrelliJuliex2173jfirrelli@classicmodelcars.comBoston1143Sales Rep View Edit Remove
7PattersonSteverfrspatterson@classicmodelcars.comBoston1143Sales Rep View Edit Remove
Officecode: NYC (1 items)
9VanaufGeorge Nx4102gvanauf@classicmodelcars.comNYC1143Sales Rep View Edit Remove
Search