Added visibleInTable => false attribute to a column
The column is hidden in list (table view)
The column is not hidden in list (table view)
Backpack 4.0.9
Laravel 6.2
PHP 7.2
When I run php artisan backpack:version the output is:
Heeelo @drionix
Thanks for spotting this.
I have sent a PR to try to fix this. If you have please take a look. It's here: #2220
I will be closing this issue, we can continue the conversation in the PR thread :)
Best,
Pedro
I have same problem, I have this
$this->crud->addColumn([
'label' => "Empresa", // Table column heading
'type' => "text",
'name' => 'empresa_nombre', // the column that contains the ID of that connected entity;
'visibleInTable' => false, // no point, since it's a large text
]);
but the column still is visible
@maganius check if you are using the latest BP version and clear your browser localStorage.
Best,
Pedro
@pxpm you're right, this was localStorage, I disabled it and works, thanks you.
@maganius I would not advise you to disable it, might break other functionality.
It's enough to clear it and everything should work.
Best,
Pedro
Most helpful comment
@maganius check if you are using the latest BP version and clear your browser localStorage.
Best,
Pedro