How to make a particular row of a Webdynpro java table as editable
Being an ABAP developer, i'm aware of webdynpro programming on ABAP technologies. However, i've started working on webdynpro programming using Java and would need inputs on the below question.
I am working on a PoC for a client in Webdynpro java. In webdynpro java table which is editable (columns are input fields) is there any work around so that I can make particular row / cell in that table as non- editable. I don’t want to make entire column as non editable. If anyone worked on this please let me know.
Yes this can be done like this and is quite similar to Web Dynpro for ABAP.
Let say you have node structure like this
Let say you want FirstName of 2nd row to be made disabled, then in the above node structure add a new attribute of type Boolean say “IsFirstNameEnabled”
Bind this attribute to enabled property of Input field added in FirstName column. Now if you want to disable FirstName for 2nd row then access the 2nd element of Employee node and set “IsFirstNameEnabled” to false.
Hope this will solves your problem, let me know if you need more detailed information.