# AllowClear on DropDownDataGrid issue

**URL:** <https://forum.radzen.com/t/allowclear-on-dropdowndatagrid-issue/5416>\
**Category:** Radzen.Blazor Components\
**Created:** [October 27, 2020, 5:17am UTC](https://forum.radzen.com/t/allowclear-on-dropdowndatagrid-issue/5416 "2020-10-27T05:17:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jai11](https://forum.radzen.com/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@jai11](https://forum.radzen.com/u/jai11)\
**Post date:** [October 27, 2020, 5:17am UTC](https://forum.radzen.com/t/allowclear-on-dropdowndatagrid-issue/5416/1 "2020-10-27T05:17:25Z")

</div>

I have a possible issue with the DropDownDataGrid when setting all 3 of the following properties:

- AllowClear="true"

- bind-SelectedItem

- Change

When clicking the "Clear" cross to remove the selected item, the Change event fires however the Object that is bound to the component is still set. It is like the Change event fires before the Clear happens?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [October 27, 2020, 7:04am UTC](https://forum.radzen.com/t/allowclear-on-dropdowndatagrid-issue/5416/2 "2020-10-27T07:04:05Z")

</div>

Better use @bind-Value similar to our examples.

---

<div class="post-metadata">

**Author:** ![jai11](https://forum.radzen.com/letter_avatar_proxy/v4/letter/j/eb8c5e/32.png) [@jai11](https://forum.radzen.com/u/jai11)\
**Post date:** [October 28, 2020, 8:42pm UTC](https://forum.radzen.com/t/allowclear-on-dropdowndatagrid-issue/5416/3 "2020-10-28T20:42:32Z")

</div>

that wont allow me to bind to the actual object though which is what i was hoping to do?
