Symfony datatables true false filter how to do?

  datatables, filter, symfony, twig

I’m new to datatables. I want to make a dropdown select filter for a column that content ( ✔ for true value) and ( ✘ for false value). How can I do it?

my twig view code:

<td>{% if e.isActive %} show true text {% else %} show false text {% endif %}</td>

Now I want to make a dropdown filter that has 2 choices true and false to filter this columns.

Thanks beforehand

Source: Symfony Questions