on 02-17-2010 8:10 AM
Hi all,
How to make a input field input enable in a table. Please suggest.
Thanks
Sanket
Hi,
If u r populating the data in the table then only the fields of the table will be in editable mode, those fields which have the data.
If U r having a table with no data in it then u need to initialize the table first, for having the fields in editable mode.
DATA lo_nd_cn_try TYPE REF TO if_wd_context_node.
DATA lo_el_cn_try TYPE REF TO if_wd_context_element.
DATA ls_cn_try TYPE wd_this->element_cn_try.
DATA ls_cn_try1 TYPE wd_this->elements_cn_try.
* navigate from <CONTEXT> to <CN_TRY> via lead selection
lo_nd_cn_try = wd_context->get_child_node( name = wd_this->wdctx_cn_try ).
do 5 times.
clear ls_cn_try.
append ls_cn_try to ls_cn_try1.
lo_nd_cn_try->bind_table( ls_cn_try1 ).
enddo.
Bind the empty rows with the table.
Regards,
Pankaj Aggarwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
u insert the table UI in root element container and right click to choose Create binding with a context node of cardinality 0..n
this node is having the attributes of type string which are table columns
change the Standard Cell Editor from Textview which will come as default to Input Field
ur table is input enabled & user can enter data in it..I hope this is wht u wanted
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanket,
Can you elaborate ur question..in your table cell editor have u selected cell editor as Input field UI element..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually I bind a table with a context node and set the field as Input field. But I do not able to set these input fields as input enable. I also check the Readonly and enable property. But I am still facing the same issue.
Please suggest if there is any property for this.
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 | |
10 | |
7 | |
6 | |
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.