-1

In my Vaadin web application I need to display 10,000+ user Information in a Table(or Grid) . The User information displaying in UI is retrieved from our own Spring REST web Service.

How Can I achieve this? ...

Thanks

chathura
  • 31
  • 1
  • 5

1 Answers1

0

Steps: 1. Read the list of users from your REST service. 2. Created a GRID and attache the BeamItemContainer of User to it.

Grid will take care of displaying the users. You don't have to do anything special for lazy loading. grid will take care of it by displaying only required rows on UI and fetching it lazily at component level.

P.S : Grid is very smooth while loading the data on scroll than table. If you have too many rows prefer grid over table.

Azhar
  • 398
  • 2
  • 12
  • 1
    I am sorry but you fail at step 1: you cannot simply 'read list of users' if the list is too long. You have to code for effective memory management and caching. `Grid` only optimizes client-server communication. – bekce May 04 '16 at 11:34