cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative selection of a tablerow

Former Member
0 Kudos

Hi,

usually we can select a specific row in table by clicking on the marker left of the table rows. I've seen an example showing the selection of single cells, too.

But is it somehow possible to hide the marker on the left and select a whole row (and show this by marking the whole row yellow) just by clicking on a single cell in this row?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

i don't know for sure whether this will work,

but if you set in your table rowselectable attribute to false

and in your onaction eventhandler from your tablecolumn context_element as importing

parameter, i guess you'll get the entire line in there when you do context_element->get_static_attributes(...).

you can then have an extra attribute to your structure,

which is eg design and bind that to the celldesign attribute

of your column, set it to CL_WD_TABLE_COLUMN=>E_CELL_DESIGNCRITICALVALUE_

MEDIUM and it will turn the cells slightly orange

grtz,

Koen

Message was edited by:

Koen Labie

Former Member
0 Kudos

Hmm, thanks very much. but this does not mark the whole line yellow, does it?

Former Member
0 Kudos

Hi,

is you bind each column of the table to the same attribute in yout structure,

they all turn the desired color

grtz,

Koen

Answers (0)