‎2010 Nov 23 11:24 AM
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
‎2010 Nov 23 11:28 AM
Hi,
Please check the function module - 'SCROLLING_IN_TABLE'.
It give you some idea.
Thanks.
Anversha
‎2010 Nov 23 11:28 AM
Hi,
Please check the function module - 'SCROLLING_IN_TABLE'.
It give you some idea.
Thanks.
Anversha
‎2010 Nov 23 11:33 AM
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.