Grid boolean column with date inside

Hi all, how can I manage a boolean column actually containing a data type attribute, to understand if the date is null returns false otherwise true.

With a custom expression. See

1 Like

Can I also filter and sort in the grid? I have an attribute “accepted_at” (type:date) that I want to make it boolean in the grid, thanks

Yes but you have to adjust search model used for data provider.

find it, model afterFind() is the solution! Thanks