How to make a grid read only in a interface?

Hello all, 

So I have an interface where I'm trying to make only one field editable.

For the rest of the fields I´m just add variables to store Boolean values and then based on these values I configure mine readOnly parameters. Like the following: 

But I have on the interface  a GRID.

How can I make it read only ? 

Regards,

  Discussion posts and replies are publicly visible

Parents Reply
  • At the deepest level ( at a minimum in the rule called by a!applyComponents() ),  you'll need to flip the readOnly:true flag on the components that wish to be displayed as readOnly. Set readOnly: false on field that you wish to allow your end-user to edit.

    If, as I've experienced many times, the expression that is called using applyComponents is in fact calling a variety of input types,  you'll need to take some care and caution as to where you apply the read-only conditions.

Children
No Data