on 03-17-2010 7:32 AM
Hi ,
i am new to Webdynpro ,
my requirement is to enable the table row for editing when the Lead is clicked .
i refred this below mentioned thread . but i dont know which class / interface must be used for dynamic change of the table properties .provide me a sample code , and how to find the approp class or interface the changing the UI properties dynamic
thanks & regards
chinnaiya P
Hi,
First of all you have to use your table cell editor as Input field for columns which you want to be editable
You just have to bind the read only property of your Input Field Cell Editor to a new attribute ( lets say read_only of type wdy_boolean ) contained inside the same node which is bound to table.
Now on lead select of your table - an event will be triggered - just read the lead selected element - change the reaD_only attribute property to abap_false and bind the attribute back with new value.
You dont have to do any dynamic prog, playing around with context attribute will lead to the desired result.
If you want to know how to change the cell editor from default text view to input field - follow Vikrant's reply in this thread
Regards
Manas Dua
Edited by: Manas Dua on Mar 17, 2010 1:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.