Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Hi,
currently the only way to add new items at any index(apart from end) is removing all children and then adding/recreating new children ,this might be ok for listview/dataview since the ideal way of using them is to reconstruct at render ,this though ok for them but will not be good for a repeater whose size is big/growing . fortunately markupcontainer provides everything to introduce a method like add(index,component) which will have functionality like List#add(index,element).
the advantages of introducing this method will be in places like an infinite scroll repeater which can prevent the growing size by removing elements at start/end depending on scroll position and later can add the items back at start or end .
Attachments
Attachments
Issue Links
- relates to
-
WICKET-6004 Wicket 8 cleanup - TODOs and deprecated methods
- Resolved