The current implementation of loadOnDemand
does not support upwards direction.
However, a custom solution workflow is suggested in this thread
. The idea in the thread is to use the scrolledEvent
to catch the current scroll offset. This way when the offset becomes zero or negative, you can initialize the fetching of your data items (e.g. new chat messages) and use flag (e.g. boolean property) to reset the process when the whole new data has arrived.