Clearing a DropDownDataGrid

I have a form with a lookup for a nullable foreign key selected via a drop down data grid component. I can select whichever record I need, page, sort, filter etc but, I don't seem to be able to clear any prior selections. If I select an item from the drop down grid, it is displayed in the field when the drop down closes. I can re-open the drop down and then Ctrl + click on the selected record which de-selects it in the grid but, doesn't clear the value displayed when the drop down closes. Is there a simple way to implement as there doesn't seem to be an AllowClear property like there is for the standard DropDown component?

Thank you.

Hi @marb,

At the moment the DropDownDataGrid doesn't support that. I am logging it as a feature request.

1 Like