diff --git a/Resources/doc/builders/excel-builder.md b/Resources/doc/builders/excel-builder.md index 416d3623..c1987512 100644 --- a/Resources/doc/builders/excel-builder.md +++ b/Resources/doc/builders/excel-builder.md @@ -5,13 +5,15 @@ [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#4-generator +### Requirements + +To use the Excel export make sure you have installed the recommended dependency `liuggio/excelbundle` (version `>= 2.0`) and enabled it in your AppKernel.php (`new Liuggio\ExcelBundle\LiuggioExcelBundle()`). Without this bundle enabled the ExcelAction will not work. + ### 1. Usage The Excel builder provides an Excel export of the list view. The export uses the data that is visible on the screen (and the next pages) and thus uses the filters and scopes selected. -To use the Excel export make sure you have installes the recommended dependency `liuggio/excelbundle` and enabled it in your AppKernel.php (`new Liuggio\ExcelBundle\LiuggioExcelBundle()`). Without this bundle enabled the ExcelAction will not work. - ### 2. Options * `display`: The same as in list/new/show/edit, selects the columns to export * `filename`: Specify the export filename. When null 'admin_export_{list title}' is used -* `filetype`: Default Excel2007. See the [excelbundle documention](https://github.com/liuggio/excelbundle#not-only-excel5) for the possible options. \ No newline at end of file +* `filetype`: Default Excel2007. See the [excelbundle documention](https://github.com/liuggio/excelbundle#not-only-excel5) for the possible options. diff --git a/composer.json b/composer.json index 3ee43416..ab5658a6 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ }, "suggest": { "avocode/form-extensions-bundle": "Symfony2 form extensions for Admingenerator", - "liuggio/excelbundle": "Allows the usage of the Excel export", + "liuggio/excelbundle": "(version >= 2.0) Allows the usage of the Excel export.", "cedriclombardot/admingenerator-user-bundle": "FOSUserBundle integration for Admingenerator", "jms/security-extra-bundle": "Allows expressions in credential checks for generated actions" },