Is there a way to make a column cell in the grid editable when the user clicks the create button on the toolbar but to make the same column cell read only when the user tries to edit the record? I want the user to be able to add new records but not be able to change the values in a specific field when editing the row.
I can use the beforeEdit function to determine if it is in new or update state but not sure what to do from here.
function beforeEdit(e) {
if (!e.model.isNew()) {
alert("Edit");
}
else {
alert("New");
}
}
I am using Visual Studio 2017, Net Core 2.1 Telerik 2019.2.619
Thanks.
Rich