you can set the entire model to be read-only.
This post might help. You could create this button, then conditionally render the button:. https://community.skuidify.com/skuid/topics/_edit_mode_button?topic-reply-list[settings][filter_by]=all
Hi Mordechai, could you please elaborate on how to set the entire model to be read-only conditionally? Thanks!
Hi Joseph, I am in the similar situation as you were 2 year ago. I would like to make the entire Skuid page read-only based on a field value. May I know how you achieved this? Thank you!
To be clear. a PAGE cannot be made read-only. you’d have to make each TABLE or field editor read-only.
depending on how many fields you have, a simple way to accomplish this is to add make all fields use a custom renderer that just says to use either the read or edit default renderer for that field, depending on your condition.
skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode]( field, value );