on 09-10-2008 4:12 AM
Hi all,
I am working on wda normal tables. I want to give the table in input. when i click the submit it should take those values.
i made table fields as inputfield.but when i test my program i am not able to edit my table. and i made cardinality is 1:n and selection 1:n that time i am able to edit 1 row.unable to select other rows.
how to make all rows of the table fields editable .
Can any body give any suggesion
Thanks&Regards
revati
Hi
when you make the cardinality 1:n one record automatically inserted by the framework, so you have one element in your context node.
you have to write code to insert new records into the context node, then you are able to see the records in edit mode.
if you want ten records put code in WDDOINIT
data: lr_node type ref to if_wd_context_node.
data: ls_tab type <node type>.
data: lt_tab type table of <node type>.
lr_node = wd_context->get_child_node( '<node name binded to table>' ).
do 10 times.
append ls_tab to lt_tab.
enddo.
lr_node->bind_table( lt_tab ).
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you paste your code here.let me see how you are making ediable columns.
thanks
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.