The Symfony DatatableBundle is an easy way to create sortable and filterable tables
Use composer to install webmen/datatabundle
composer require webmen/datatable-bundle
Add the assets to your package.json
"@webmen/datatable-bundle": "file:vendor/webmen/datatable-bundle/assets"
Import the javascript in your own entry file
import '@webmen/datatable-bundle/js/index';
Import the SCSS styling in your own entry file
@import "~@webmen/datatable-bundle/scss/index";
Now you should be able to use this bundle in your symfony application
An export interface is provided to have some clue as how to export a datatable.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.