Datagrid filter on association

Hi! I’d like to filter a datagrid based on an association.  I have an object and a file object, both are connected with a 1:1 association. I’d like to filter the datagrid based on the existence of the association, for instance with a checkbox “Document available” and if the user clicks on the checkbox, only the objects with an associated document are displayed.  I am using the GridSearch widget, but this displays all the available documents, but I just want a “yes/no” selection. Any hints are very appreciated, thank you!
0 answers