Hi Chris,
Thanks for your patience.
Based on the query we could understand that your requirement is to show clear button for the dropdown control rendered in Grid dialog edit. You can achieve it by enabling the showClearButton property for the dropdown edit column using the cell edit params property of the Grid columns.
This is demonstrated in the below code snippet,
@{
var ddParams = new { @params = new { showClearButton = true } };
}
<div id="parent">
<ejs-grid id="Grid" dataSource="@ViewBag.Data" >
<e-grid-columns>
<e-grid-column field="ShipCountry" editType="dropdownedit" edit=ddParams></e-grid-column>
</e-grid-columns>
</ejs-grid>
</div> |
We have prepared a sample based on this for your reference. You can find it below,
More details on this can be checked in the below documentation link,
Please get back to us if you require any further assistance.
Regards,
Sujith R