-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #877 from APY/symfony3
Symfony 2.8|^3.0 Support
- Loading branch information
Showing
23 changed files
with
678 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Columns Configuration with Annotations | ||
|
||
## Annotations | ||
|
||
* [Source Annotation](annotations/source_annotation.md) | ||
* [Column Annotation for a property](annotations/column_annotation_property.md) | ||
* [Column Annotation for a class](annotations/column_annotation_class.md) | ||
* [ORM Association Mapping](annotations/association_mapping.md) | ||
* [DQL Functions](annotations/dql_function.md) | ||
|
||
## Column Types References | ||
|
||
* [Text Column](types/text_column.md) | ||
* [Number Column](types/number_column.md) | ||
* [Decimal](types/number_column.md) | ||
* [Currency](types/number_column.md) | ||
* [Percent](types/number_column.md) | ||
* [Duration](types/number_column.md) | ||
* [Scientific](types/number_column.md) | ||
* [Spell Out](types/number_column.md) | ||
* [Boolean Column](types/boolean_column.md) | ||
* [DateTime Column](types/datetime_column.md) | ||
* [Date Column](types/date_column.md) | ||
* [_Time_](types/time_column.md) | ||
* [Array Column](types/array_column.md) | ||
* [Blank Column](types/blank_column.md) | ||
* [Rank Column](types/rank_column.md) | ||
* [Join Column](types/join_column.md) | ||
* [Create your column](types/create_column.md) | ||
|
||
## Filters | ||
|
||
* [Input Filter](filters/input_filter.md) | ||
* [Select Filter](filters/select_filter.md) | ||
* [Create a filter](filters/create_filter.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# APYDataGrid Configuration Reference | ||
|
||
All available configuration options are listed below with their default values. | ||
|
||
```yaml | ||
apy_data_grid: | ||
limits: [20, 50, 100] | ||
persistence: false | ||
theme: 'APYDataGridBundle::blocks.html.twig' | ||
no_data_message: "No data" | ||
no_result_message: "No result" | ||
actions_columns_size: -1 | ||
actions_columns_title: "Actions" | ||
actions_columns_separator: "<br />" | ||
pagerfanta: | ||
enable: false | ||
view_class: "Pagerfanta\View\DefaultView" | ||
options: ["prev_message" => "«", "next_message" => "»"] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Export | ||
|
||
APYDataGrid bundle provides different ways for export your datas. This bundle proposes native exports such as a CSV or a JSON export and library-dependent exports such as Excel and PDF exports but everything is made that it is really easy to create your own export. | ||
|
||
> Note: An export don't export mass action and row actions columns. | ||
## Native Exports | ||
|
||
* [CSV Export](native_exports/CSV_export.md) | ||
* [DSV Export](native_exports/DSV_export.md) | ||
* [Excel Export](native_exports/Excel_export.md) | ||
* [JSON Export](native_exports/JSON_export.md) | ||
* [SCVS Export](native_exports/SCVS_export.md) | ||
* [TSV Export](native_exports/TSV_export.md) | ||
* [XML Export](native_exports/XML_export.md) | ||
|
||
## External Library Exports | ||
|
||
### With PHPExcel | ||
|
||
Add the following package to your composer.json file: | ||
|
||
```bash | ||
$ composer require phpoffice/phpexcel "dev-master" | ||
``` | ||
|
||
* [PHPExcel Excel 2007 Export](library-dependent_exports/PHPExcel/PHPExcel_excel2007_export.md) | ||
* [PHPExcel Excel 2003 Export](library-dependent_exports/PHPExcel/PHPExcel_excel2003_export.md) | ||
* [PHPExcel Excel 5 (97-2003) Export](library-dependent_exports/PHPExcel/PHPExcel_excel5_export.md) | ||
* [PHPExcel Simple HTML Export](library-dependent_exports/PHPExcel/PHPExcel_HTML_export.md) | ||
* [PHPExcel simple PDF export](library-dependent_exports/PHPExcel/PHPExcel_PDF_export.md) | ||
|
||
## Cook Book | ||
|
||
* [How to create your custom export](create_export.md) |
16 changes: 0 additions & 16 deletions
16
Resources/doc/export/library-dependent_exports/PHPExcel/PHPExcel_installation.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# APYDataGrid Bundle Features | ||
|
||
- Supports Entity (ORM), Document (ODM) and Vector (Array) sources | ||
- Sortable and Filterable with operators (Comparison operators, range, starts/ends with, (not) contains, is (not) defined, regex) | ||
- Auto-typing columns (Text, Number, Boolean, Array, DateTime, Date, ...) | ||
- Locale support for DateTime, Date and Number columns (Decimal, Currency, Percent, Duration, Scientific, Spell out) | ||
- Input, Select, checkbox and radio button filters filled with the data of the grid or an array of values | ||
- Export (CSV, Excel, _PDF_, XML, JSON, HTML, ...) | ||
- Mass actions | ||
- Row actions | ||
- Supports mapped fields with Entity source | ||
- Securing the columns, actions and export with security roles | ||
- Annotations and PHP configuration | ||
- External filters box | ||
- Ajax loading | ||
- Pagination (You can also use Pagerfanta) | ||
- Column width and column align | ||
- Prefix translated titles | ||
- Grid manager for multi-grid on the same page | ||
- Groups configuration for ORM and ODM sources | ||
- Easy templates overriding (twig) | ||
- Custom columns and filters creation | ||
|
||
## Screenshot | ||
|
||
Full example with this [CSS style file](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/grid_configuration/working_example.css): | ||
|
||
![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_full.png?raw=true) | ||
|
||
Simple example with the external filter box in english: | ||
|
||
![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_en.png?raw=true) | ||
|
||
Same example in french: | ||
|
||
![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_fr.png?raw=true) | ||
|
||
Data used in these screenshots (this is a phpMyAdmin screenshot): | ||
|
||
![test](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_database.png?raw=true) |
Oops, something went wrong.