BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
I do not know if I explained?
Thank you so much
<ej:Grid ID="OrdersGrid" runat="server" AllowPaging="True">
<Columns>
. . . . .
</Columns>
<EditSettings AllowEditing="True" AllowAdding="True" AllowDeleting="True" EditMode="Batch"></EditSettings>
<ToolbarSettings ShowToolbar="True" ToolbarItems="add,edit,delete,update,cancel"></ToolbarSettings>
<ClientSideEvents CellEdit="celledit" />
</ej:Grid>
<script type="text/javascript">
function celledit(args) {
if (this.getBatchChanges().changed.length) {
var index = this.model.dataSource.findIndex(x=>x.OrderID == this.getBatchChanges().changed[0].OrderID)
if (args.cell.closest("tr").index() != index)
args.cancel = true; // to cancel the editing
}
}
</script> |
To prevent editing the next cell in batch mode on a website, you can use JavaScript to disable the cell input fields dynamically. Implement an event listener that triggers when a cell is edited, and then use event.preventDefault()
to stop the editing action on the subsequent cell. Additionally, ensure that your HTML structure allows for this functionality by properly targeting the cell elements.
Hi Daniel,
Thanks for your suggestion.
Please get back to us if you have further queries.
Regards,
Pon selva