Infinite Scroll in Vaadin Grid With Angular 2 Application -


i new angular 2. stuck in problem , require directive. have vaadin grid shows data fetched server. 10 records fetched in 1 api hit , there 80 records. want provide scroll in vaadin grid , when uers's scroll , vaadin grid loads next set of data hitting api. grid

<vaadin-grid #grid [items]="employee" (scroll)="onscroll($event)" (sort-order-changed)="onsortorderchanged($event)"> <table>   <colgroup>     <col name="name" flex="1" sortable>     <col name="age" flex="1" sortable>     <col name="college" flex="1" sortable>     <col name="address" max-width="750" flex=3>   </colgroup>   <thead>     <tr>       <th>name</th>       <th>age</th>       <th>college</th>       <th>address</th>     </tr>   </thead> </table> 

i not able design following grid infinite scroll. please provide directive .


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -