Change all fields of component to display mode
There is business requirement of changing all fields to display mode. User should be shown fields in display mode. If we call display view, user can click on edit button and modify fields. But we need to disable edit button. For this we need to disable edit button of all the views in component.
Can there be better approach that the above approach.
Please provide some direction.
Thanks and regards