Skip to content

Commit 6ef1574

Browse files
committed
Add info about required ExcelBundle version
1 parent df426ba commit 6ef1574

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Resources/doc/builders/excel-builder.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55

66
[back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#4-generator
77

8+
### Requirements
9+
10+
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.
11+
812
### 1. Usage
913
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.
1014

11-
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.
12-
1315
### 2. Options
1416

1517
* `display`: The same as in list/new/show/edit, selects the columns to export
1618
* `filename`: Specify the export filename. When null 'admin_export_{list title}' is used
17-
* `filetype`: Default Excel2007. See the [excelbundle documention](https://github.com/liuggio/excelbundle#not-only-excel5) for the possible options.
19+
* `filetype`: Default Excel2007. See the [excelbundle documention](https://github.com/liuggio/excelbundle#not-only-excel5) for the possible options.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"suggest": {
4040
"avocode/form-extensions-bundle": "Symfony2 form extensions for Admingenerator",
41-
"liuggio/excelbundle": "Allows the usage of the Excel export",
41+
"liuggio/excelbundle": "(version >= 2.0) Allows the usage of the Excel export.",
4242
"cedriclombardot/admingenerator-user-bundle": "FOSUserBundle integration for Admingenerator",
4343
"jms/security-extra-bundle": "Allows expressions in credential checks for generated actions"
4444
},

0 commit comments

Comments
 (0)