Is it possible to reduce columns width for certain columns in backpack crud for laravel, is there any attribute in add columns that allows that?
On the image displayed , i want to swap the 1s for glyphicon-ok, but i can't find a way to do it
public function setup(){
$this->crud->setModel("App\ReporteParamEstacion");
$this->crud->setRoute("admin/reporte_paramestacion");
// $this->crud->setRouteName("crud.reportes.listado_importacion");
$this->crud->setEntityNameStrings('parametro estacion', 'parametro estaciones');
$this->crud->enableExportButtons();
$this->crud->removeAllButtons();
$this->crud->addColumn([
'name' => 'nombre',
'label' =>'Estacion',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'nombre_comuna',
'label' =>'Comuna',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'MP10',
'label' =>'MP10',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'MP25',
'label' =>'MP25',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'SO2',
'label' =>'SO2',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'NO2',
'label' =>'NO2',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'CO',
'label' =>'CO',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'O3',
'label' =>'O3',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'BC',
'label' =>'BC',
'type' => 'text'
]);
$this->crud->addColumn([
'name' => 'NOX',
'label' =>'NOX',
'type' => 'text'
]);
}
thanks in advance
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire