Permalink
1f98315 Jul 17, 2017
@Abhoryo @npotier @tawfekov @stanislavprokopov @slimus @rafacouto
108 lines (99 sloc) 6.4 KB

SUMMARY

  1. Introduction

  2. Installation

  3. Getting Started with APYDataGridBundle

  4. Source

    1. Entity (ORM)
    2. Document (ODM)
    3. Vector (Array)
  5. Template (Twig)

    1. Display the grid
    2. Display an ajax grid
    3. Cell rendering
    4. Filter rendering
    5. Overriding internal blocks
    6. Display an external filters box
    7. Display a pagerfanta pager
  6. Columns Configuration with Annotations

    1. Annotations
      1. Source Annotation
      2. Column Annotation for a property
      3. Column Annotation for a class
      4. ORM Association Mapping
      5. DQL Functions
    2. Column Types
      1. Text Column
      2. Number Column
        1. Decimal
        2. Currency
        3. Percent
        4. Duration
        5. Scientific
        6. Spell Out
      3. Boolean Column
      4. DateTime Column
      5. Date Column
      6. Time
      7. Array Column
      8. Blank Column
      9. Rank Column
      10. Join Column
      11. Create your column
    3. Filters
      1. Input Filter
      2. Select Filter
      3. Create a filter
  7. Grid Configuration in PHP

    1. Set the identifier of the grid
    2. Set the persistence of the grid
    3. Pagination
    4. Set max results
    5. Add column
    6. Add row action
    7. Add multiple row actions columns
    8. Add mass action
    9. Add a native delete mass action
    10. Add export
    11. Manipulate rows data
    12. Manipulate column render cell
    13. Manipulate the source query
    14. Manipulate the count query (source Entity only)
    15. Manipulate columns
    16. Manipulate row action rendering
    17. Hide or show columns
    18. Set columns order
    19. Set a default page
    20. Set a default order
    21. Set a default items per page
    22. Set default filters
    23. Set permanent filters
    24. Set the no data message
    25. Set the no result message
    26. Always show the grid
    27. Set a title prefix
    28. Set the size of the actions colum
    29. Set the title of the actions colum
    30. Set data to avoid calling the database
    31. Grid Response helper
    32. Multi Grid manager
    33. Set the route of the grid
    34. Working Example
  8. Export

    1. Native exports
      1. DSV - Delimiter-Separated Values
        1. CSV - Comma-Separated Values
        2. SCSV - SemiColon-Separated Values
        3. TSV - Tab-Separated Values
      2. Excel
      3. XML
      4. JSON
    2. Library-dependent exports
      1. PHPExcel
        1. Installation
        2. Excel 5 (97-2003) (.xls)
        3. Excel 2003 (.xlsx)
        4. Excel 2007 (.xlsx)
        5. Simple HTML
        6. PDF (Not working!)
    3. Create your export class