$dataProvider,
'filter' => $this->render("_search", ['model' => $searchModel]),
'batch' => [
[
"label" => "删除",
"url" => "/category/deletes"
],
[
"label" => "其它操作",
"url" => "/category/others"
],
],
'columns' => [
[
'class' => 'blobt\grid\CheckboxColumn',
'width' => '2%',
'align' => 'center'
],
[
'attribute' => 'id',
'width' => '5%',
'align' => 'center'
],
[
'attribute' => 'created_at',
'width' => '7%',
'format' => 'date'
],
[
'attribute' => 'cat_name',
'width' => '13%',
],
[
'attribute' => 'icon',
'width' => '5%',
],
[
'attribute' => 'icon_type',
'width' => '7%',
'showConstText' => true
],
[
'attribute' => 'description',
'enableSorting' => false,
'format' => 'ntext',
'width' => '49%',
],
[
'class' => 'blobt\grid\ActionColumn',
],
],
]);
?>