action_list.rst 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. The List View
  2. =============
  3. .. note::
  4. This document is a stub representing a new work in progress. If you're reading
  5. this you can help contribute, **no matter what your experience level with Sonata
  6. is**. Check out the `issues on Github`_ for more information about how to get involved.
  7. This document will cover the List view which you use to browse the objects in your
  8. system. It will cover configuration of the list itself and the filters you can use
  9. to control what's visible.
  10. Basic configuration
  11. -------------------
  12. To do:
  13. - global (yml) options that affect the list view
  14. - a note about Routes and how disabling them disables the related action
  15. - using configureListFields() to set which fields to display
  16. - setting the identifier, and the available options
  17. - options available when adding general fields, inc custom templates
  18. - targeting submodel fields using dot-separated notation
  19. - adding custom columns
  20. Customising the query used to generate the list
  21. -----------------------------------------------
  22. To do:
  23. - how to customize/optimize the list query
  24. Customising the sort order
  25. --------------------------
  26. To do:
  27. - how to set the default sort order
  28. - how to sort by multiple fields (this might be a separate recipe?)
  29. Filters
  30. -------
  31. To do:
  32. - basic filter configuration and options
  33. - how to set default filter values
  34. - targeting submodel fields using dot-separated notation
  35. - advanced filter options
  36. .. _`issues on Github`: https://github.com/sonata-project/SonataAdminBundle/issues/1519