custom table component design

Am designing custom table for my application, my requirement is it has to contain pagination ,lazy loading and also header and body should be dynamically created from POJO’s object, I studied Vaadin book but didnt get a solution for the requirement so Please any one guide me how to do this ,If you provide a example it will be great help for me .Thanks in advance:blink: :blink: