I have a new DataGrid with a custom filter on one fields which consist of a dropdown. Changing the dropdown triggers the data grid to load the filtered data as required but, the filter controls remain visible until I click on another object on the screen.
Is there some way to close the filter window similar to what happens when the "Clear" or "Apply" buttons are used on the non-custom advanced filter window.
That looks like just what I am after - I've tried adding a button to my filter template and using the same code within an Execute C# handler but, this fails with column not being known. It appears the 2nd parameter is optional but, the first parameter PopupID is required. I can see in the code you link to that this is:
internal string PopupID
If I try and use this code in the page's .razor file, I get the error:
If it's not a silly question, how do I get the ID for the popup which is displayed by the custom filter template?