### 配置項`hideCheckbox`
> 配置表格第一列為`checkbox`
參數: `boolean $isHide 是否隱藏checkbox列`
> 值`true`關閉`checkbox列`,默認開啟
> 值`false`開啟
示例代碼:
~~~
return ViewBuilder::table()
->setPage(true)
->setHideCheckbox(true)
->setColumns([
'username' => table_column_helper('用戶名', ['style' => ['min-width' => '100px']]),
'email' => table_column_helper('郵箱', ['style' => ['min-width' => '200px']]),
])
->setQuery(function () {
$query = AdminUser::find()->select(['id', 'username', 'email']);
return $query;
})
->render($this);
~~~
圖示:
