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

Tree Object - Remove Image from Node

Former Member
0 Likes
454

Hi,

I've created a tree object with 2 columns. The item in my first column is a checkbox class. Here

appears the checkbox object and in the left side of it appears a small sheet icon. How can I remove

it. And leave only the checkbox in that node?

Regards,

Isaac Melendez

2 REPLIES 2
Read only

Former Member
0 Likes
391

Hi,

data: l_layout TYPE lvc_s_layn.

l_layout-n_image = space.

CALL METHOD g_alv_tree->add_node

EXPORTING

i_relat_node_key = p_relat_key

i_relationship = cl_gui_column_tree=>relat_last_child

i_node_text = l_node_text

is_outtab_line = p_wa_outtab

is_node_layout = l_layout

IMPORTING

e_new_node_key = p_node_key.

Cheers.

...Reward if useful.

Read only

Former Member
0 Likes
391

Try

TYPE-POOLS: ICON.

l_layout-n_image = ICON_SPACE.

l_layout-exp_image = ICON_SPACE.

CALL METHOD o_alv_tree->add_node....