on 01-28-2011 4:53 AM
Hi Experts,
I am new to this group and also new to webdynpro...
I want to create a table or ALV like this. When i click on one button i want to create a table with 3 rows like.. for example table contains 4 columns.
col1--
col4.
1 row - ABC(Textview)- value1(I(nput)-value2(Input)-ADD(Button)
2 row-DEF(Textview)---value1(I(nput)-value2(Input)-SUB(BUTTON)
3 row-XYZ(Textview)---value1(I(nput)-value2(Input)-MUL(BUTTON).
If i click ADD button i want to add 1 more row after first rowi.e. below to that add button with different content. like i want to display first row information in second row with addition of two values. is it possible to do this?
Thanks in Advance,..
Cheers,
Venkys.
Edited by: venkys on Jan 28, 2011 6:06 AM
hi venky,
in table ui element do the following steps
1) add table ui element
2) right click on the table ui element and add table column....
3) afetr this you will see a column and caption inserted now just right click on the tablecolumn ui element and click on cell editor....now you can add the u element of your choice here...i.e text editor ui elemnt,button ui element...etc any thing you want add it.
4) now you will have to bind each column with a specific attribute of a node so that values can be populated.
in case of issues please revert back
thanks and regards,
sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
You can create three rows in a table with the required structure.
but i am not clear what you want in the second row of the table.
will there be any button or ust text views.
there are many ways to achieve the same.
using table popin to display the result which will open like a new row between two rows.
or using cell variants and filling the node once again.
so first you should clearly specify what is required in the next row which is added on the click of the button.
also why you are going for all this inside a table, is there any special resaon for that. you can directly create input fileds and
textviews to display the result.
thanks
sarbjeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I am doing experiment on table ui element..
u are saying.. create stuct for 3 rows?? like database struct?
I know how to create struct and table using context like
DATA: lt_main TYPE wd_this->elements_node,
wa_main TYPE wd_this->element_node. right?? but i dont know how to fill data??? can u tell me please
in next row also i want textview, input and button.
and u are also saying cell variants and table popin? can u tell me how to do this?
Cheers,
Venkys
Edited by: venkys on Jan 28, 2011 7:21 AM
Edited by: venkys on Jan 28, 2011 7:23 AM
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.