Hi Customer,
Thanks for contacting Syncfusion support.
To avoid editable for the selected record, use actionBegin event of ejGrid. The actionBegin event will be triggered for every grid action before its starts. In this event we need to check the condition with the requestType as “beginedit” and define args.cancel as true to avoid the default operations(edit operation).
Find the code example:
$("#Grid").ejGrid({
// the datasource "window.gridData" is referred from jsondata.min.js
dataSource: window.gridData,
allowPaging: true,
actionBegin : function (args) {
if(args.requestType == "beginedit")
args.cancel = true;
},
|
Refer to the Help document for the actionBegin event.
If we misunderstood your query, please get back to us
1. Code example of a Grid.
2. Code example of button added in Grid.
3. Essential Studio Version details.
Regards,
Prasanna Kumar N.S.V