wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Solodovnik <solomax...@gmail.com>
Subject Re: Scrollbar or limit to show checkbox in CheckGroup.
Date Fri, 23 Jun 2017 10:20:44 GMT
I guess this topic should help:
http://apache-wicket.1842946.n4.nabble.com/Infinite-scroll-td4666421.html

On Fri, Jun 23, 2017 at 3:51 PM, rajan <rajan.chauhan1811@gmail.com> 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.
> 2. A scrollbar and when scroll goes till the end next 1000 record get
> updated.
>
> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
WBR
Maxim aka solomax

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message