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
Post a Comment