
flexgrid / infinite scrolling / how to trap the scrollbar on the flexgrid
thoughts were released on Tue, 23 Oct 2001 17:50:43 +0200
bearing the following fruit:
Quote:
>This is a Hint allright ... But What can i do with it ?
Well I was thinking that after the user scrolls (you catch
this with the scroll event) you can check to see if the last
column is visible, and if it is then add more columns.
This is perhaps not an ideal solution but it should work.
I would suggest that you leave the flexgrid scollbar alone
and add buttons to the form to change which period in the
persons life you are looking at. I use the flexgrid to show
a four week period and I give the user buttons to change
increase/decrease by 1 week, and the same again but by four
weeks. They also have a date control to jump to a specific
date.
Quote:
>Maybe I drink a stella thinking it over ...
Drinking Stella does nothing for my coding but I tend
to find I don't care much.
Quote:
>;)
>> thoughts were released on Tue, 23 Oct 2001 10:29:41 +0200
>> bearing the following fruit:
>> >Hello,
>> >I would like to add an infinite scrolling feature onto my flexgrid . The
>> >flexgrid represents a lifetime of a person . The flexgrid should behave
>like
>> >all the columns are loaded .But infact only the visible columns are
>loaded
>> >. So when the user drags it to the left or right , it should calculate
>the
>> >lifetime position and load the X columns of that DAY/WEEK/MONTH .
>> >Also if somebody clicks on the arrow left/right ... the period would have
>> >the change from date x to y ... to date x + 1 to y + 1 .
>> >Has anyone done this kind of thing ? I would allready be very happy if I
>> >would know how to trap the scrollbar on the flexgrid , ...and the left
>and
>> >right scrollbuttons .
>> Hint:
>> You can tell if a col is visible and you can also
>> catch the scroll event.
>> J