on 10-15-2010 6:58 AM
Hi
In web dynpro table I am able to input data in first row only. How to input data in other rows.
Thanks,
Saurabh
I got solution through some other medium .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, Saurabh...
From your description, I think, the "Input Row" which you described is just "Filter", not the traditional Input-filed.If i am wrong, pls point out...
However, if you want to make the table's row ready for input, you should set "Input field" to the table'column's cell editor...
Meanwhile, if you want to add one complete NEW row ready for input, you should make use of the context node bound to the table.maybe use create element to the context node...
Hope it can help you a little.
Best wishes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
To be able to input data , you will have to add elements to the node bound to the table.
May be in the begining itself , you can add around say 10 elements to the node so that u get 10 rows in table.
also you can provide a button (say add) , on click of which you can add a new row (i.e a new element to the node).
Thanks,
aditya.
hi, okay..
I summarize in 3 aspects:
1.You want make the Table row play like "Input field"
The solution is :
In the table column, you set the cell editor as "Input field"
2.You want to use the FILTER function
The solution is :
set Filter Value property and realize "OnFilter" event...
3.You want to add Ready for Input rows to your table
The solution is :
You should make use of the Context Node bound to the table. The EXAMPLE coding:
DATA lo_nd_flights TYPE REF TO if_wd_context_node.
DATA lo_el_flights TYPE REF TO if_wd_context_element.
* append the element with initial attribute value
lo_nd_flights = wd_context->get_child_node( name = wd_this->wdctx_flights ).
lo_el_flights = lo_nd_flights->CREATE_ELEMENT( ).
* bind the newly created element
lo_nd_flights->BIND_ELEMENT( new_item = lo_el_flights
set_initial_elements = abap_false ).
4.You want to set N rows ready for input initially
The solution is :
Set the Row visible property..
Best wishes.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.