Dear @COR6603,
That's possible, but it's not a trivial task! You can get all elements on the form with the following code:
fd.fields();
Then, it can be used to check, if they are inside of a certain Grid. For example, with my-grid class:
You can check it like this:
var refs = fd.fields();
refs.forEach(field => {
if (field.$el.closest(".my-grid") != null) {
field.disabled = true;
}
})