on 2008 Nov 20 1:09 PM
Hi
I have to create a page in webDynpro.
In that page there is a 2-D table structure and in each cell of that table there has to be a drop down.
Now, no. of rows will be decided at runtime. No. are colums are fixed.
How can i associate multiple dropdowns in each cell of column.
And manipulate number of rows to be displayed at runtime.
Thanks.
Request clarification before answering.
Hi,
1. Create a node with the no. of attributes(if using static values for dropdown) else no of subnodes (if using dynamic values for dropdown) that you would like to have as columns
2. Bind the table's datasource property to this node and each columns drowpdown selectedkey property to the respective attributes of the node.
3. In your code set the values for your node and the number of elements inserted would be displayed at runtime as the number of rows in your table.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh
You can add rows runtime take a contextvarible and assing to table property 'Rows' in code you pass the table size.
Just add the only one dropdown in desired column, it will come in all cells
You can refer some of the links
https://www.sdn.sap.com/irj/scn/advancedsearch?query=tablesinwebdynpro+java&cat=sdn_all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
30 | |
8 | |
7 | |
6 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.