04-26-2017 8:43 AM
Hi all,
I have an ALV with some colored cells.
The first time you display the ALV the first row is selected so you cannot see the colors.
I want to display the ALV wihtout any cell selected.
I've tried using method SET_SELECTED_CELLS with an empty table but doesnt work.
I've seen there is a method SELECTIONS_CLEAR, but is protected. So I changed the class CL_GUI_ALV_GRID by the class /irm/cl_gui_alv_grid where is public. But nothing, the first cell is always seleted the first time.
I've tried also using ls_layout-NO_ROWMARK = 'X'. but nothing...
I dont want any cell selected. Do you know how can I do it?
Thanks in advance.
04-26-2017 11:09 AM
04-26-2017 11:21 AM
Nowhere... but I think it's impossible, isn't it?
The purpose of this is to paint an input field in my screen with colors, its impossible to do it in screen painter, so my idea was to create a tiny ALV with only one cell, but if this cell is selected at the beginning then...
I think I'm going to do it with an HTML container...