@ (Html.EJ ().TreeGrid ("TreeGridContainer"). EditSettings(eve => { eve.AllowEditing(true); eve.AllowAdding(true); eve.AllowDeleting(true); eve.EditMode(TreeGridEditMode.CellEditing); }). ClientSideEvents(eve=>{ eve.BeginEdit("beginEdit"); }). //... )
<script type="text/javascript"> function beginEdit(args) { var treeObj = $("#TreeGridContainer").data("ejTreeGrid"); var columns = treeObj.model.columns; //cancelling editing for 'StartDate' column and 'PercentDone' column if (columns[args.columnIndex].field == "StartDate" || columns[args.columnIndex].field == "PercentDone") args.cancel = true; } </script> |
A support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Please let us know if you require further assistance on this.
Regards,
Mahalakshmi K.
Hi Harry,
Sorry for the inconvience caused.
We can also reproduce the issue while disabling edit icon in the toolbar and enabling the cellEditing in TreeGrid. A support incident has been created under your account to track the status of this issue report. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents
Please let us know if you require further assistance on this.
Regards,
Mahalakshmi K.