Skip to Content

Is it possible to Disable/readble view sap ui5

Hi Experts,

I would like to know that making view content only readable or non-editable. I tried below method. But it is saying "editable & enabled is not the correct property". My view contains tables and forms. I want to make the view only readable. Any suggestions??





Karthik S

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 19, 2017 at 08:51 PM


    In most of the view's elements the attribute:


    will do the job.

    You can set it in advance in the view itself or set it dynamically (in the controller).

    You can wrap the entire view in a tag and set it, instead of going over all the elements of the view.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 19, 2017 at 07:56 PM

    There is no property of view which makes it readble/editable etc.

    You need to set the controls in the view to editable/readable/etc.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.