Skip to main content
Known Participant
Feb 24, 2022 6:11 PM UTC
Question

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,

    7 replies

    stefanhelzle0001
    Brainy
    Feb 24, 2022 6:51 PM UTC

    That grid is a component built by someone in your team. You should talt to the developer to find out how to make in read only.

    gopalk2865
    Participating Frequently
    Feb 25, 2022 5:44 AM UTC

    Hi Victoria, You would need to configure your grid rule . In the grid rule you would need to set readOnly parameter for the fields you want to make read  only and them from the main interface you can pass value for readOnly and it will work.

    Known Participant
    Feb 25, 2022 2:00 PM UTC

    In order to configure, 

    I can just use this one right?

    or should I go deeper ? Like here ?

    gopalk2865
    Participating Frequently
    Feb 25, 2022 4:11 PM UTC

    yes, you would need to configure both of these rules and pass readOnly value from parent rule.