I want to hide a column in my gridview using kartik gridview. But when i do something like that :
$gridColumns = [
[
'class' => 'kartik\grid\DataColumn',
'attribute'=>'name',
'hidden' => 'true',
],
My column is still visible .
I know it and old question, but I wanted to add that if you want columns to be hidden in grid, but available for export use 'hidden' => false
instead of 'visble' => true