I want to remove the button to expand/collapse all on the ExpandRowColumn in gridview which i used kartik's widget. 'allowBatchToggle' => false would only disable the button but not hide it entirely. I want to make it not visible.
Column in gridview
[
'class' => 'kartik\grid\ExpandRowColumn',
'width' => '50px',
'value' => function ($model, $key, $index, $column) {
return GridView::ROW_COLLAPSED;
},
'detailUrl' => Url::to(['/sysadmin/user/row-expand']),
'expandOneOnly' => true,
'allowBatchToggle' => false,
'expandOneOnly' => true
],
Here it shows the icon i want to remove only in the headers.
