Skip to Content
0
Former Member
Apr 14, 2010 at 11:03 AM

cl_gui_alv_tree_simple and optimize column width

228 Views

Hi,

I'm using cl_gui_alv_tree_simple like i've seen in the program 'BCALV_TREE_SIMPLE_DEMO'

and like in the demo the columns dont apear optimized for the width of it's content.

How can I do this?

edit

in the code we can found this

* optimize column-width
  CALL METHOD tree1->column_optimize
    EXPORTING
      i_start_column = tree1->c_hierarchy_column_name
      i_end_column   = tree1->c_hierarchy_column_name.

but it seems to do nothing...