on 04-30-2008 2:08 PM
Hi,
Is there a way to hide the header of group UI element? If i set the property "Visible" to "None", it only removes the caption text but the header area still remains the same.
Any suggestions on how to do this?
Regards,
Prasath N
Hi Prasath,
I had the same problem and so far I did not like the idea of using other container.
Another option for you could be to declare your own header and to set it to the group. If the object reference is initial, the header is not visible.
But this solution might not work in some cases. The code would look:
METHOD wddomodifyview .
DATA: lo_group TYPE REF TO cl_wd_group.
DATA: caption type ref to CL_WD_CAPTION.
IF first_time EQ 'X'.
lo_group ?= view->get_element( 'MAINGROUP' ).
lo_group->set_header( caption ).
ENDIF.
ENDMETHOD.
Regards,
Kameliya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
10 | |
7 | |
7 | |
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.