eps/jqgridbundle
Composer 安装命令:
composer require eps/jqgridbundle
包简介
JqGrid integration for Symfony2
关键字:
README 文档
README
JqGrid implementation for Symfony2.
Compatibility: Tested with Symfony > 2.0.12 (not tested > 2.1.x)
CHANGELOG
2012-06-04: BC break - change rendering function jqgrid_js to jqgrid
Installation
-
Add this bundle to your vendor/ dir
Add the following lines in your deps file:
[EPSJqGridBundle] git=git://github.com/michelpa/JqGridBundle.git target=/bundles/EPS/JqGridBundleRun the vendor script:
./bin/vendors install -
Add the "EPS" namespace to your autoloader
<?php // app/autoload.php $loader->registerNamespaces(array( 'EPS' => __DIR__.'/../vendor/bundles', // your other namespaces ));
-
Enable the bundle in the kernel
<?php // app/ApplicationKernel.php public function registerBundles() { return array( // ... new EPS\JqGridBundle\EPSJqGridBundle(), // ... ); }
-
Add assets to your layout
JS
bundles/epsjqgrid/js/i18n/grid.locale-fr.js bundles/epsjqgrid/js/jquery.jqGrid.min.jsCSS
bundles/epsjqgrid/css/ui.jqgrid.css -
Configuration
in config.yml:
eps_jq_grid: ~
or if you want to specify the date format (for datepicker), you've got to set the date format in js AND in php format (conversion):
eps_jq_grid:
datepicker_format: dd/mm/yy
datepickerphp_format: d/m/Y
Grid example
统计信息
- 总下载量: 3.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-03-29