on 10-17-2007 10:03 AM
Hello,
I'm new to the forum and quite new to BSP, so please bear with me if I'm asking simple questions
I tried to set the tooltip property of a CL_HTMLB_DROPDOWNLISTBOX instance in an iterator like this:
DATA: col_dropdown TYPE REF TO cl_htmlb_dropdownlistbox.
CREATE OBJECT col_dropdown.
...
col_dropdown->tooltip = 'Test'.
The dropdown list works ok and all is fine, but the tooltip is not displayed. However, when I use the tooltip property on a BSP page, it works fine:
<htmlb:dropdownListBox id = "SalesOrg"
table = "</= controller->CuCo->DD_SALESORG />"
nameOfKeyColumn = "TKEY"
nameOfValueColumn = "DESCRIPTION"
selection = "</= sarea />"
disabled = "</= SalesAreaDisabled />"
tooltip = "Test"
width="200" />
I'm using Design2002 as the display style. Could anybody please tell me what I have to do to make it work?
Thanks,
Leo
did u try like this in th Iterator.
method if_htmlb_tableview_iterator~render_cell_start .
DATA: lo_text TYPE REF TO cl_htmlb_textview,
lo_ddlb TYPE REF TO cl_htmlb_dropdownlistbox,
FIELD-SYMBOLS: <dat> TYPE ANY.
row_ref = p_row_data_ref.
CASE p_column_key.
WHEN 'SORT_NUM'.
create object lo_ddlb.
get reference of lt_seq_no into lo_ddlb->table.
lo_ddlb->id = p_cell_id.
lo_ddlb->nameofkeycolumn = 'ENTRY_KEY'.
lo_ddlb->nameofvaluecolumn = 'ENTRY_VALUE'.
lo_ddlb->tooltip = 'My Tool tip'.
lo_ddlb->selection = get_column_value( p_column_key ).
p_replacement_bee = lo_ddlb.
WHEN OTHERS.
CREATE OBJECT lo_text.
lo_text->id = p_cell_id.
lo_text->wrapping = 'FALSE'.
lo_text->text = get_column_value( p_column_key ).
lo_text->design = 'STANDARD'.
p_replacement_bee = lo_text.
ENDCASE.
ENDMETHOD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Leo,
tooltip: Use this attribute to determine the quick info text that is displayed when the cursor is moved over the dropdown list box.
Note that this attribute is not available in Microsoft Internet Explorer.
Please try with some other Explorer
Thnx
Suriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suriya,
thanks for the reply. Please note that your answer is not quite correct. The tooltip works in Internet Explorer when I specify it in the BSP page. But it does <b>not</b> work when I set it in the iterator. That is what I need to find out.
Also, could you clarify what you mean with "other Explorer"?
Thanks, Leo
User | Count |
---|---|
74 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.