Can’t you use the Eloquent query in gridphp to query Laravel? For security reasons, query instead of using normal Mysql queries
If you wish you use eloquent, you can use callback event, with ignoring the datagrid implementation and use the laravel database functions inside it to add/edit/delete.
More reference here: https://www.gridphp.com/docs/grid-events/
To select data, we do several modifications in query to adjust page, search and sort operations so It’s not doable with eloquent.
Abu Ghufran - Dev Team
Grid 4 PHP Framework
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?