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

Implement Entry up/down & Page up/down functions in table control

Former Member
0 Likes
522

Hi,

I have to implement entry up/down and page up/down functions in my table control. The logic is :-

Suppose the entries in my table control currently are:-

Called "Initial Position" :-

a

b

c

d

e

My "Cursor Position" or say my selection column is at 'c' value currently.

If I press entry down, the result should be:-

a

b

d

c

e

i.e. c shifted one value down. If I press value up from "Initial Position", it should be :-

a

c

b

d

e

If I press page down from "initial position", the result should be

a

b

d

e

c

i.e. c has scrolled to the last entry. Similarly for page up, where the entry goes up to the first place and all entries move one position down.

The problem i am facing is:-

1) How to get index of entry selected?

2) How to change table control contents at runtime?

Thanks.

Edited by: dumbledorearmy on Nov 23, 2010 12:25 PM

1 ACCEPTED SOLUTION
Read only

anversha_s
Active Contributor
0 Likes
479

Hi,

Please check the function module - 'SCROLLING_IN_TABLE'.

It give you some idea.

Thanks.

Anversha

2 REPLIES 2
Read only

anversha_s
Active Contributor
0 Likes
480

Hi,

Please check the function module - 'SCROLLING_IN_TABLE'.

It give you some idea.

Thanks.

Anversha

Read only

0 Likes
479

Hi,

Thanks for the reply.

I do not want to scroll. I want to change the contents at run time. The sequence of entries should be changed.