Application Development 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: 

Big problem with Table Control and single column selection

Former Member
0 Kudos

Dear all

I have on a dynpro a Table Control where i set Column Sel. to 'Single' and w/SelColumn I attach to my field

My Table control shows 10 lines.

The swich of columns by clicking on the selection column works well as soon I do not have more thant 10 lines in my table and I do not have to scroll.

When for ex. I mark the 1st line and then I scroll down until my 1st line is not shown anymore, and then i select another line, the 1st line remains marked. When I scroll up, I see that then both lines are marked!!!!

Who can help?

Herbert

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi Herbert,

May be this is what you are looking for

4 REPLIES 4

Former Member
0 Kudos

according to your description i got the feeling that somehow you messed up rows and columns.

please check this.

0 Kudos

You are right, i would have better written that the row selection is not ok...

so what I need to have is that only a single row can be checked. And as I described, when you scroll away of the actual row, and check another one, this one remains selected.

Herbert

Former Member
0 Kudos

Dear Herbert,

In PAI, inside the LOOP.. check the code used for selection.

There index should be table ctrl-top line + tbl ctrl-currentline - 1

check this once

Regards

BN

kesavadas_thekkillath
Active Contributor
0 Kudos

Hi Herbert,

May be this is what you are looking for