on 09-05-2008 11:05 AM
Hi....
can any one hlep me how to disable the listbox dynamically when i press a button.
Thanks in advance.
Regards
Raja
Take an attribute of type visibility( WDUI_VISIBILITY
) of UI element.
you can bind the attribute to the UI element in this way.
lr_list = cl_wd_item_list_box=>new_item_list_box(
BIND_DATA_SOURCE = 'node.attribute'
BIND_VISIBLE = 'NODE.ATTRIBUTE'
SELECTION_CHANGE_BEHAVIOUR = E_SELECTION_CHANGE_BEHAVIOUR-AUTO
TEXT = TEXT
TEXT_DIRECTION = E_TEXT_DIRECTION-INHERIT
TOOLTIP = TOOLTIP
VIEW = VIEW
VISIBLE = E_VISIBLE-VISIBLE
VISIBLE_ITEMS = 10
WIDTH = WIDTH
).
(or)
lr_list->bind_visible( path = 'NODENAME.ATTRIBUTE' ).
any one you can use.
Thanks
Suman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi....
I solved the issue....
thanks a lot....
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a context attribute of type wdui_visibility and bind to the 'visible' property of the UI element..In the onaction method of the button set this attribute with the value '01',which makes the listbox invisible
Regards
Tamil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.