Skip to main content
February 24, 2022
Question

How to make a grid read only in a interface?

  • February 24, 2022
  • 7 replies
  • 0 views

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
    February 24, 2022

    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
    February 25, 2022

    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.

    February 25, 2022

    In order to configure, 

    I can just use this one right?

    or should I go deeper ? Like here ?

    gopalk2865
    Participating Frequently
    February 25, 2022

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