-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
New feature: Datatables option #50
Comments
I built this into your old Mitul version. I can supply the code it should not be to hard to implement into your new one. This creates the App\DataTable\ExampleDataTable.phpThis creates the resouces/views/example/datatable.blade.phpThis creates the new views generator_Total views are:_
If interested This creates the a factory from the above view generatorIf interested This creates the a seeder from the above view generator |
@phillipmadsen great. I will take it in next milestone. |
I am absolutely loving this https://github.com/yajra/laravel-datatables package! Especially using it the "as a Service" way. It's wonderful and so powerful. A huge improvement to the current scaffolding with the ajax search, sorting and very easy to add inline edit/delete buttons as well as a "add new" button. Am currently using this for the "index" view and using the generated scaffolding for the edit. It was very easy to drop-in. Really looking forward to this being baked-in to this project! |
This is another plugin in jquery: https://vitalets.github.io/x-editable/demo-bs3.html# |
@phillipmadsen How you generate external files which are not came default by this package |
I have started working on it. Maybe it will be shipped by the end of this week. |
@mitulgolakiya oh, very good bro, thanks! |
@mitulgolakiya Thanks. waiting for this feature. |
These are the stubs I am using to generate my datatables (as a service http://datatables.yajrabox.com/service). I'll post them here, might be helpful to you. I know some of what I did is dirty but it may still help. Take note that I'm using 'Stolz/Assets' to load my datatables js/css which basically only loads
Added this to GeneratorConfig.php
Added this to laravel_generator.php (note that I'm using subfolders.. which is related to issue #70)
Added this to ViewGenerator.php
this is my DataTable.stub
And this is my modified index for the controller.stub
and finally this is my /views/datatables/index.blade.php
|
Another table plugin, excellent for one to many relationship! |
Completed in the latest version. Find the doc here |
How can we set column width or minimum column width? Everything gets messy with large text fields... |
how to rename column name in datatable |
Hii @NightZpy we have added the support for data tables with javascript |
Hello bro,
maybe add option for implement datatable javascript plugin for index page.
For laravel exists some packages for this job. This is one:
https://github.com/yajra/laravel-datatables
.Greets.
The text was updated successfully, but these errors were encountered: