-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension #26
Comments
Laravel Datatables is already supported. Have a look to my other package boilerplate-packager) that will help you to create package for boilerplate, if you generate one package you will see that datatables is used. I'll take a look at the other package, it can be interesting in a project. However we don't have the use of it here because we don't have a model to translate in this package, or at least I don't see the use of it here. The translation is more interesting if we create, for example, a package to manage multilingual articles, that's where we'll call it. |
I almost meant implementation as a service.
|
Maybe I don't understand the problem, for me datatables is already accessible as you can see here: Lines 13 to 14 in f1f9094
|
Yes, I know. I almost thought to generate for each model to create a datatables class. To the Datatables directory. I have developed one class with additional javascript for working filters and bulk changes. |
The version 7.10.0 comes with a new datatable component to generate a datatable with a class. You can now generate your own datatable class with the artisan command boilerplate:datatable and easily build a datatable. As you can see filters are automatically added. I will probably add more filter types in the future. You can have a look to the UsersDatatable class as an example. |
it is possible to add support for laravel Datatables and Laravel package for translatable models ???
The text was updated successfully, but these errors were encountered: