You can use cellEditableCondition as below code
{field: 'planTypeName', displayName: $ rootScope.commonProperty.name, enableCellEditOnFocus: true, enableCellEdit: true, cellEditableCondition: function ($ scope) {return $ scope.row.entity.sts == 'A'; }},
source share