ng2-bootstrap pagination and bootstrap table integration error
问题 I'm trying to integrate ng2-bootstrap pagination component and bootstrap table. I have a simple bootstrap table that is loaded with ngFor directive: <tr> <th *ngFor="#col of cols">{{col.header}} </tr> </thead> <tbody> <tr *ngFor="#row of rows"> <td *ngFor="#col of cols">{{row[col.field]}}</td> </tr> </tbody> The rows content is determined by the pagination component: I have an array called data that contains a bunch of entries for the table. The array length is used to determined the