Hello,

I'm trying to make a component that listens to scroll events and loads data
when needed. When the scrollbar reached the bottom or the top.

The component should have 2 possible usecases :one that keeps all the
previous data and one that only show x rows and reloads them both ways(up
and down).

I've already looked at other libraries like  wicket-quickview library
<https://github.com/vineetsemwal/quickview/tree/master/wicket-quickview>  ,
but this library adds many functionalities I don't need, and if there are
changes that break this library I would not be able to fix it since I don't
understand all the inner workings.

I was able to use the ajax scroll event implementation in combination with a
listview that add's items. The problem I'm having is that I can only update
the complete listview by adding its parent component. 

In the library they solve this by appending the items using js.(this was
based on  repainting-only-newly-created-repeater-items-via-ajax
<http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/>
 
)

I was wondering if there was a way to partially update a listview(or similar
component)? Can I extend the listview to prepend and append items with the
js/ajax) Which component should I be using?

I don't have much experience with extending existing wicket components so
I'm not really sure what I should overwrite.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-partially-update-listview-on-scroll-tp4668171.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to