on 09-13-2010 1:06 PM
Hi All,
I have one question with Table.. I have a table with some records, when user double click on perticular record, that record should be in edit mode. and user can change and should be updated at backend . how can we acieve this? any helps
Tahnks in advance,
venkat.
Hi Venkat,
Bind the InputField Enabled property with an attribute say PFLAG. In the Table properties, you can find OnLeadSelect event. In this event, get the selected row and set the PFLAG value accordingly.
Regards,
Manogna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
Bind the Enabled property of InputfFeld with an attribute of wdy_boolean (eg: PFLAG). Create an action for OnLeadSelect of table and write the following code.
DATA lo_nd_table_node TYPE REF TO if_wd_context_node.
DATA lo_el_table_node TYPE REF TO if_wd_context_element.
lo_nd_table_node = wd_context->get_child_node( name = wd_this->wdctx_table_node ).
lo_el_table_node = lo_nd_table_node->get_element( ).
lo_el_table_node->set_attribute(
EXPORTING
name = 'PFLAG'
value = 'X' ).
Edited by: manogna musunuri on Sep 14, 2010 7:33 AM
Double click is rarely used in the browser in general (not just Web Dynpro). There is no double click event in Web Dynpro. Generally you would just use the leadSelection for such a user interface activity.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.