Hi Syncfusion,
I have 2 enquiries regarding the grid edit mode.
<div>
@Html.EJS().Grid("Grid").DataBound("DataBound").DataSource((IEnumerable<object>)ViewBag.dataSource).Columns(col =>
{
. . .
}).AllowPaging().EditSettings(edit => { edit.AllowAdding(true).AllowEditing(true).AllowDeleting(true).Mode(Syncfusion.EJ2.Grids.EditMode.Normal); }).Render()
</div>
</div>
<script>
function DataBound() {
if (this.currentViewData.length) {
this.selectRow(0);
this.startEdit();
}
}
</script> |
HI Syncfusion,
Thank you for your reply. Here is an update for the query.
Query 1:
We followed this guide to render a dropdown template and a textbox template in the grid, and we would like to add the onchange event to the dropdown component in order to disable the textbox next to it, but unable to add add the onchange event to the dropdown. Could you advice a solution for this?
https://ej2.syncfusion.com/aspnetmvc/documentation/grid/how-to/render-other-components-in-column/
Query 2:
No longer applicable due to we are able to render input in the grid using template.
Thank you
Regards,
Khar Hui Chok