多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 配置项`page` > 显示表格分页 参数`boolean $page 是否显示表格分页` > 值`true`开启分页,表格构建器默认开启分页 > 值`false`关闭分页 示例代码: ~~~ return ViewBuilder::table() ->setPage(false) ->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/53/96/5396a35fc8456f26a6530fd71ba17d9f_1038x949.png)