laravel-admin
laravel-admin copied to clipboard
how to rename the grid filter id
- Laravel Version: 5.6.39
- PHP Version: 73
- Laravel-admin: 1.6
Description:
I want to rename the grid filter id name eg: the default name show ID but I want to rename it to Driver Id. it is possible in laravel admin??
$grid->filter(function($filter){
$filter->disableIdFilter();
....
// create new one.
I can use the $filter->disableIdFilter(); function and add the new one like $filter->like('id','Sum ID'); but it does not show in the filter box but i remove the disableIdFilter() it can show two fields for id and SumID. what can do for this scenario??

Thanks @Xuan-Goldenf Now it working fine.