PDA

View Full Version : Custom Scroll behavior


raduCocieru
06-22-2004, 08:11 AM
Hi !

I wander if anyone has any ideea on this.

I'm developing a component something like a DataGrid with many small colums. What I need is to scroll it Horizontaly, because it can get potentialy wide the normal scroll behavoir is out of question. I want to scroll it by one column per step so all I want from the scroller is the scroll event and no action to be taken over the content so I could scroll it elsewere.

My component extends List just like DataGrid. So buttom line is I don't need the scroll to scroll but just to fire-up events.

Thanks !

raduCocieru
06-23-2004, 02:24 AM
I found a solution in case anybody wants to know. You should ovewright the onScroll function not just register for an on Scroll event and optionaly you can call the super.onScroll after adjustmens.