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: 

ALV GRID - how to handle scrollbar click

Former Member
0 Kudos

Hello,

Is it possible to handle scrollbar movment/click

in alv grid control?

Thanks in advance for your help.

Harry

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I don't think you can handle the same explicitly. It is automatically comes up when the data goes beyond the page display.

Regards,

Ravi

Note : Please mark the helpful answers

9 REPLIES 9

Former Member
0 Kudos

I don't think you can handle the same explicitly. It is automatically comes up when the data goes beyond the page display.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Hi Ravi,

thank for your response.

What do you mean by "It is automatically comes up when the data goes beyond the page display".

In my case I need to identify when the Vertical scrollbar is at the upper or lower extremity in order to process

some code.

Is there an alternative for such case?

Thanks

Harry

Former Member
0 Kudos

Hi,

Through the instance method "SET_SCROLL_INFO_VIA_ID" of CL_GUI_ALV_GRID class.

refr this thread:

rgds,

latheesh

0 Kudos

Hi latheesh,

For my purpose It doesn't help me

since I need an event to be triggered to identify when I should use those methods.

The event should be triggered by scroollbar

thanks

Harry

former_member188685
Active Contributor
0 Kudos

Hi,

why ? can you explain your exact requirement,.

Regards

vijay

0 Kudos

Hello vijay,

I'am implementing a calendar with the alv grid control.

Since I do not want to process all the data at one time

I need to know when the scrollbar reach the upper or lower extremity so that I can populate + other processes the alv grid.

Something very similar to the actual behaviour of "F4_DATE" function module displaying the Calendar control.

Hope you can help me

Thanks

0 Kudos

Why can't you use the Calender control instead?

CL_GUI_CALENDAR

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Why to Implement the Calendar, are you showing some thing different other than Normal Calendar.

and where you are using that.when you required it.

Regards

vijay

0 Kudos

Hi Ravi.

Fo Internal reasons.

regards

Harry