intonation / grid-bundle
此包已 弃用 且不再维护。未建议替代包。
用于 Symfony 项目的带分页和过滤器的数据网格。
v0.2.1
2019-08-23 10:20 UTC
Requires
- php: ^7.2
- doctrine/annotations: ^1.0
- prezent/grid-bundle: ^0.4.13
- white-october/pagerfanta-bundle: ^1.2
This package is auto-updated.
Last update: 2022-12-23 18:18:39 UTC
README
基于 prezent/grid-bundle 的 Symfony 项目分页和过滤器的数据网格。
安装
-
打开命令行,进入项目目录并执行
$ composer require intonation/grid-bundle
-
由于
prezent/grid-bundle
的服务配置似乎与 Symfony 4 不兼容,请将以下修复添加到config/services.yaml
以注册所有GridType
为公共服务services: App\Grid\: resource: '../src/Grid/*' public: true
-
将 IntonationGridBundle 的 Twig 网格主题添加到
config/packages/perzent_grid.yaml
prezent_grid: themes: - '@IntonationGrid/Grid/grid.html.twig'
文档
有关使用此网格包的完整指南,请参阅 文档。