on 09-05-2015 3:46 AM
Hi All,
I have a table with one column is having sap.m.Input and the other column with a date picker.I wanted to disable both as non-editable,after pressing a button.
Is it possible to make the entries setEditable(false) and rerender the table ?
Thanks and regards,
Arun
Hi Arun,
You didn't mention whether the button is placed in each list item of table (or) outside the table.
If it is outside the table, will this help? - JS Bin - Collaborative JavaScript Debugging
And also, I guess instead of editable you can use enabled. If you want to change it to editable, you can use the same logic.
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based on what Sai has.
IMO, it is better to use a model to control the edit-ability of controls like this
JS Bin - Collaborative JavaScript Debugging
In the manner, we do not need to iterate thru the cells.
Thanks
-D
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.