laravel-generator
laravel-generator copied to clipboard
Add datagrid option
#295 Here's code for a feature to use https://github.com/aginev/datagrid for displaying the index page of a CRUD. It enables sorting and filtering. It uses the Repository to do that. It needs stubs from core-templstes (https://github.com/InfyOmLabs/core-templates/compare/develop...shemgp:develop)
Thank you for considering this pull request.
Updated to fix styling issues and missing stubs
Moved the datagrid filter to Repository filters converter to a trait so the function doesn't need to be copied to all controllers when scaffolding.