Disable editing of record in RecordActionTable

How do you disable editing persistent record in RecordActionTable when you add new or click on edit the existing one? Like in RecordEditForm with overriding newEditorComponent. Thank you for the answer.

Solved the problem. Let’s say we have a StringField named Status. We should do something like this:

Status.getFormMeta().setVisible(false);

That’s what you were asking? :scratch:

Well that’s what I really wanted. :smiley: For the record not to be displayed in when editing or adding new at all. If I wanted to display it but just don’t allow to edit it I should use .setEnabled(false).