Skip to Content
avatar image
Former Member

How to make a particular row of a Webdynpro java table as editable

Hi Experts,

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.

Thanks,

Shamim

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 14, 2013 at 12:59 AM

    Hi Shamim,

    Yes this can be done like this and is quite similar to Web Dynpro for ABAP.

    Let say you have node structure like this

    Employee 0-n

    |

    ---FirstName

    ---LastName

    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.

    Thanks,
    -Vipin.

    Add comment
    10|10000 characters needed characters exceeded