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

Table control scrolling for radio button

ricky_shaw
Contributor
0 Likes
935

Hello Experts,


I have a Table control with few columns and rows. One column is of type Radio Button.

Seems that there is a problem with my paging routine. I used the TC wizard while developing.

I am displaying a total of 25 rows out of which 15 rows are displayed for the FIRST time on the screen.
The top line has value = 1 at this time.

Now if i select (click) on a Radio button for 5th row and then scroll down for next 10 rows by clicking on Scroll bar, then i am observing that the
radio button selection row is also scrolling down and hence the selected row is now = 15.

The top line = 15 at this time.

note: The same sy-ucomm event gets triggered when i click on radio button & click on scroll bar.


Can someone please suggest as to what is the problem


Thanks

Ricky

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
636

Scrolling event doesnt have its own okcode. SO whatever the last okcode u have selected is, the same will appear when u do scrolling.

So its advisable to clear okcode whenver u click on any button. I mean suppose u clicked on radiobutton. as soon as u satisfy the condiiton, clear the okcode.

Hello Experts,


I have a Table control with few columns and rows. One column is of type Radio Button.

Seems that there is a problem with my paging routine. I used the TC wizard while developing.

I am displaying a total of 25 rows out of which 15 rows are displayed for the FIRST time on the screen.
The top line has value = 1 at this time.

Now if i select (click) on a Radio button for 5th row and then scroll down for next 10 rows by clicking on Scroll bar, then i am observing that the
radio button selection row is also scrolling down and hence the selected row is now = 15.

The top line = 15 at this time.

note: The same sy-ucomm event gets triggered when i click on radio button & click on scroll bar.


Can someone please suggest as to what is the problem


Thanks

Ricky

2 REPLIES 2
Read only

Former Member
0 Likes
636

try not to assign  function code to the radiobutton

Read only

Former Member
0 Likes
637

Scrolling event doesnt have its own okcode. SO whatever the last okcode u have selected is, the same will appear when u do scrolling.

So its advisable to clear okcode whenver u click on any button. I mean suppose u clicked on radiobutton. as soon as u satisfy the condiiton, clear the okcode.