Hi there - I have a sample app attached where I'd like to reset the dropdown control to 'Select one...' after either the dialog is canceled or the dropdown update event has completed.
Is there a way to rebind the row and/or dropdown data? Thank you.
Attachment: BlazorApp_b2fddeae.zip
|
<GridColumn HeaderText="Customer Name" Width="150">
<Template>
@{
var id = context as Order;
}
<SfDropDownList Placeholder="Select one..." @ref="DropRef[id.OrderID]" TItem="KeyValuePair<string, int>" TValue="int" DataSource="GetData()">
<DropDownListEvents TValue="int" TItem="KeyValuePair<string, int>" ValueChange="(e) => ValueChangehandler(e, id.OrderID)" />
<DropDownListFieldSettings Value="Value" Text="Key" />
</SfDropDownList>
</Template>
</GridColumn>
|
I had no idea you could do that...You guys are full of knowledge! I hope you all get a huge bonus this year :)
Thank you.