2014 Nov 26 4:37 AM
Hi Experts,
I am using docking container and using splitter functionality.
And displaying two ALVs on one screen.
My requirement is to not to dock at any side.
This is my code.
CREATE OBJECT go_docking
EXPORTING
repid = l_repid
dynnr = '100'
extension = 2000
side = go_docking->dock_at_left" What could be passed here ?
parent = cl_gui_docking_container=>screen0.
* splitter ...
CREATE OBJECT go_splitter
EXPORTING
link_dynnr = '100'
link_repid = l_repid
parent = go_docking
orientation = cl_gui_easy_splitter_container=>orientation_vertical
sash_position = 50
with_border = 1.
* alv-Control
CREATE OBJECT go_alv
EXPORTING
i_parent = go_splitter->top_left_container.
CREATE OBJECT go_alv2
EXPORTING
i_parent = go_splitter->bottom_right_container.
What could be the solution ?
BR,
Eshwar
2014 Nov 26 4:59 AM
Hi Eshwar,
You can pass cl_gui_docking_container=>dock_at_bottom|top|left|right to 'SIDE' parameter.
regards,
Archer
2014 Nov 26 5:31 AM
Hi,
If your question is to have different options for passing the values in side, you can go to attributes in CL_GUI_DOCKING_CONTAINER and check the below as suggested by Archer.
DOCK_AT_LEFT
DOCK_AT_TOP
DOCK_AT_BOTTOM
DOCK_AT_RIGHT
PROPERTY_DOCKING
PROPERTY_FLOATING
DOCKING_SIDE
2014 Nov 26 5:47 AM
Hi,
I do not want to dock at any side...either of the four sides.
BR,
Eshwar
2014 Nov 26 6:14 AM
It's a docking container. It has to dock somewhere. The clue is in the name.
It's even in the constructor code:
if not ( side = dock_at_left or side = dock_at_right
or side = dock_at_top or side = dock_at_bottom ).
side = dock_at_left.
endif.
There's no escape.