on 09-18-2008 8:15 AM
Hi All,
Hi All,
I am working on tableview iterator example from Brian's weblog:
I modified the TV in BSP to multilineedit .
I Filled the curriencies table in constructor with three values ie USD , INR and GBP .
Now i am able to retain the selection of DDLB (got solution in below thread:
, but i need to controle the attribute of next column based on the value of selection in ddlb i.e.
for eg. if i select USD in DDLB , the next inputfiled should be disabled..
Hope my query is clear
Thanks,
Vivek.
Do the problem still persists. If the problem is solved plz close the thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek
For doing this you need to code in the iterator class in the method RENDER_CELL_START.
In this method you can find the data of the based on it you can disable you input field.
1. Define local variables col_curr TYPE string,
Field symbol as FIELD-SYMBOLS: <row> TYPE ANY,
<col> TYPE ANY.
Then ASSIGN p_row_data_ref->* TO <row>.
//p_row_data_ref this will have the data of a row in the internal table at runtime.
ASSIGN COMPONENT 'Curr' OF STRUCTURE <row> TO <col>.
// So this will have the data of the "Curr" of the row now.
col_curr = <col>.
So now you will have the data of the Currency in your variable.
Based on the value have a case stmt and disable the input filed(Which you have defined in the same method.(ex disabled = <your vairable in the logic>).
Hope this will solve you problem.
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.