Hi Rizwan,
Thanks for contacting Syncfusion support.
Query: When I click the custom button click editing (remove or cancel) on the grid.
Based on your query, you want to discard (cancel) the edit action in Grid by custom button click. You can achieve your requirement by using closeEdit() method of Grid. Please find the below code example for your reference.
<script>
function btnClick(args) {
var grid = document.getElementById("BankStatementsPopupGridView").ej2_instances[0];
grid.closeEdit();
}
</script>
|
Please get back to us if you need further assistance with this.
Regards,
Rajapandiyan S