多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 配置项`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); ~~~ 图示: ![](https://img.kancloud.cn/a2/04/a20464ff3aa8238200e24ad0a448642f_1062x819.png)