I have a customer column in my custom module admin grid (created using UI component) where I show the customer name. But in database I save customer Id. I need to use the filter on customer name as input box in my grid filters. When I filter the grid by customer ID it works fine.
My question is how I can filter it by using customer name?
Same as we do in Magento 1 using filter_condition_callback.
Best Answer
Yes. If one wants to join eav_attribute_option_value table to filtering option value, one can use below code.
Below add filter condition callback function including joins like,