on 01-11-2008 7:28 AM
hi all hw can i make a table invisible when the view is displayed initially..only on clicking an event the table must get displayd...
Thanks
hi urbashi.........
the table has a property called visibility.
bind an atrribute of type wdui_visibility to this property.
it should be inside a node.
in the wddoinit, pass value CL_WD_MESSAGE_AREA=>E_VISIBLE-NONE
to this attribute.
when the button is pressed, pass the value
CL_WD_MESSAGE_AREA=>E_VISIBLE-visible.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
M really sorry for bothering you but i really didn't understand these steps...
in the wddoinit, pass value CL_WD_MESSAGE_AREA=>E_VISIBLE-NONE
to this attribute.
when the button is pressed, pass the value
CL_WD_MESSAGE_AREA=>E_VISIBLE-visible.
.........i created an attribute of type wdui_visibility and then when i went to that table that i want to hide,i binded to the property....
after that i couldn't follow.....
...regards,
Urbashi
hi urbashi........
so now you have bound that attribute to teh visibility property of the table.
now in your wddoinit method,
read the attribute.
say attribute name is att1.
now set the attribute value by
nodename->set_attribute( name = <attribute name>
value = CL_WD_MESSAGE_AREA=>E_VISIBLE-NONE).
the same coding with different value must be written on the on action method of the show table event.
---regards,
alex b justin
Hi Urbashi,
The table element has a property visible.
Create an attribute of type wdy_boolean in the context node and bind this to the invisble property element in the layout.
Change the attribute to abap_true to make the table visible on your particular action.
Regards,
Ismail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
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.