Hi,
On Fri, Jun 23, 2017 at 10:51 AM, rajan <[email protected]> wrote:
> i have a CheckGroup like below:
>
>
>
> final CheckGroup<?> group=new CheckGroup("group",new
> ArrayList());
> group.add(new CheckGroupSelector("
> groupselector"));
>
>
>
>
> final DataView dataView = new DataView("userTable", new ListDataProvider(){
>
> protected List<String[]> getData(){
> return userbean.findUsers(list.
> getUsers());
> }
> })
> {
> @Override
> public void populateItem(final Item item) {
>
> item.add(new
> Check("checkbox",item.getModel()).setOutputMarkupId(true));
> final User user = new User((String)item.getModelObject());
> item.add(new Label("userid",
> user.getId()).setOutputMarkupId(true));
>
>
> }
>
> };
>
>
>
> working fine.
> But Problem is there are millions of users.
> So i want
> 1. Limit the number of users to 1000 in one load.
>
dataView.setItemsPerPage(1000)
> 2. A scrollbar and when scroll goes till the end next 1000 record get
> updated.
>
Wicket's DataView doesn't support this.
Nowadays I'd suggest
https://github.com/wicketstuff/core/tree/master/datatables-parent . There
is a demo with infinite/virtual scrolling in the -examples module.
>
> thanks in advance
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Scrollbar-or-limit-to-show-checkbox-in-
> CheckGroup-tp4678139.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>