on 02-22-2007 3:49 PM
Hi,
I have a dropdown list where the tooltip is bound to a context attribute.
Once I select a value in the dropdown list the tooltip changes with it.
What I would like to have is that when I scroll through the dropdown list (go over the values of the dropdown list) tooltip changes.
How can I trigger an event on 'go over the value in dropdown list' ?
Thanks in advance!
Kind regards,
Amel Alic
Hi Parag,
What you are describing I already built into my dropdown list.
I need a way to show the tooltip on 'move over the dropdown list values'.
So when I open the dropdown list and move over the values in the list the tooltip should change along with it.
Regards,
Amel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amel Alic ,
Yes It is possible to due that for that you have to do following things
1) Please connect tooltip to some element of context of Type string
2) Now On select of particular value populate that text in element of node.
Just take case you made some node called 'Ttip' and make element as temptemp.
now on select you will populate appropiate content based on condition of value
Hope sample code I have made will surely help you.
............................................................................
DATA:
lt_attributes TYPE STANDARD TABLE OF if_request_ior=>element_Ttip,
wa_attributes LIKE LINE OF lt_attributes.
if (condition1 of value1 choosed)
wa_attributes-temptext = 'You have choosed value 1'
INSERT wa_attributes INTO TABLE lt_attributes.
endif.
if (condition2 of value2 choosed)
wa_attributes-temptext = 'You have choosed value 2'
INSERT wa_attributes INTO TABLE lt_attributes.
endif.
*endif.
Node->Bind_Table(
New_Items = lt_attributes
Set_Initial_Elements = Abap_True ).
If solution works give points.
Cheers !!!
Parag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.