Is there a way to close the DropDownDataGrid on selection?
I added a change event and called StateHasChanged(). The list does update to show the selection but the drop down data grid portion stays visible until the user clicks outside.
Is there a way to close the DropDownDataGrid on selection?
I added a change event and called StateHasChanged(). The list does update to show the selection but the drop down data grid portion stays visible until the user clicks outside.
Is it single selection or multiple?
Single.
<RadzenDropDownDataGrid TValue="Load"
AllowFiltering="true"
FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive"
AllowClear="true"
@bind-Value="selectedLoad"
Placeholder="Select..."
Data="@Loads"
@ref="ddLoads"
Multiple="false"
TextProperty="Concur Daily Load"
ValueProperty="selectedValue"
PageSize="3"
Change="@(args => Change(args))"
Style="margin-bottom: 20px; width:100%;">
Is it with the latest Radzen.Blazor? I'm unable to reproduce this using our demos: https://blazor.radzen.com/dropdown
Yes. It is only with the DropDownDataGrid. The DropDown appears to hide. The https://blazor.radzen.com/dropdown-datagrid demo also displays the behavior I am describing.
Thanks,
Yep, sorry! It will be fixed in the next release!