kEpEx / laravel-crud-generator

php artisan command to generate fully working crud with grid paginated server side only by having database tables
MIT License
98 stars 44 forks source link

gives warning if no record exists in datatable #3

Closed credencysrajesh closed 8 years ago

credencysrajesh commented 8 years ago

when i have no record in the table then it given warning of ajax_error image is attached screenshot from 2016-04-11 17 21 50

kEpEx commented 8 years ago

Can you provide the response from your network tab. I am unable to reproduce it.

credencysrajesh commented 8 years ago

issue resolved

the issue was the primary key which is taking column name by default id so i got the resolution.

but now

i want make search which can search in all columns of datatable??

kEpEx commented 8 years ago

@credencysrajesh you can modify the SQL code in the controller of the screen to look for more columns. Please close the issue if resolved :)

credencysrajesh commented 8 years ago

i know but that is not proper way it should like yii search in model we can define search criteria and call that in controller