on 07-29-2012 6:07 PM
Hi All,
i have to put
1. table first row for all the columns as input field
2. rest of the rows as text view
help me how to put input field only for the first row ? mine is NWDS 7.0
Thanks,
Ram.
Hi Ram,
You can not have different UI elements in 1 column for different rows.
In your case solution will be by using Input field for all rows and manipulating the readOnly property of the Input Field/s.
For example, you can have 1 more boolean Context Attribute in the node bound to the table and set the boolean (readOnly Property) to false for 1rst row and true for all other rows.
Thanks and Regards,
-Amol Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amol,
I tried that but some how on setting read only enable the rest of rows didn't look good, actually my requirement is to filter the table data according to the user input, i have 6 fields thing is i got the filter logic inside one method now what i need is on top of each column if i have one input field on action enter i can call my filter method from that i can set the retrieved results to my table.
Thanks,
Ram.
hi Ram,
I gave the solution acccording to your query.
According to your new requirement, you need a Table filter.
Look for the table filter section here
http://wiki.sdn.sap.com/wiki/display/WDJava/Welcome+to+Web+Dynpro+Java!
http://wiki.sdn.sap.com/wiki/display/WDJava/Generic+Table+Filter+Code
http://wiki.sdn.sap.com/wiki/display/Snippets/Ready+Made+Table+Filter+Extension
I hope that this solves your problem.
Thanks and Regards,
-Amol Gupta
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.