Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Docking with Docking container

Former Member
0 Likes
2,168

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,443

Hi Eshwar,

You can pass  cl_gui_docking_container=>dock_at_bottom|top|left|right to 'SIDE' parameter.

regards,

Archer

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,443

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

Read only

0 Likes
1,443

Hi,

I do not want to dock at any side...either of the four sides.

BR,

Eshwar

Read only

0 Likes
1,443

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.