on 09-20-2013 4:18 PM
Hi Gurus,
I am using a select option in my project. My requirement is " On providing the range in select-option the UI Element table should display the data in read-only mode. I created a button and the button name is change. At run time when i will click on the change button, the table should be in an editable mode.
Can anybody help me on this by providing the code for the same requirement.
Thanks in Advance.
Regards,
Sankar
Create a context variable of type boolean.
Set the variable to the read-only property of the table.
On click of the button, if value is false, set it to true. This will make the table non-editable. Second click reverse the value.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to create a table with Input Field cell editor instead of Text view. Check this document http://scn.sap.com/docs/DOC-27125 In this I have demonstrated for one row. You can follow this for all the rows to make editable/disable at runtime.
Hope this helps u.,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.