Column width/cut

You can set width for any column(s) in a grid.


public function column_width_cut()
{
  $xcrud = get_xcrud();
  $xcrud->table('productlines');
  $xcrud->columns('productLine,textDescription');
  $xcrud->column_width('textDescription','80%');
  $xcrud->column_cut(250,'textDescription');
    
  $data['content'] = $xcrud->render();
  
  return view('demos', $data);
}

Productlines

#ProductlineTextdescription 
1TrainsModel trains are a rewarding hobby for enthusiasts of all ages. Whether you're looking for collectible wooden trains, electric streetcars or locomotives, you'll find a number of great choices for any budget within this category. The interactive…
2trucksr
3Trucks and BusesThe Truck and Bus models are realistic replicas of buses and specialized trucks produced from the early 1920s to present. The models range in size from 1:12 to 1:50 scale and include numerous limited edition and several out-of-production vehicles.…
4Vasos
5Vintage CarsOur Vintage Car models realistically portray automobiles produced from the early 1900s through the 1940s. Materials used include Bakelite, diecast, plastic and wood. Most of the replicas are in the 1:18 and 1:24 scale sizes, which provide the…
6Zapatos
Search