5.20231.904
wijmo.angular.input Class WjCollectionViewPager Wijmo API Class

WjCollectionViewPager Class

AngularJS directive for an ICollectionView pager element.

Use the wj-collection-view-pager directive to add an element that allows users to navigate through the pages in a paged ICollectionView. Note that directive and parameter names must be formatted as lower-case with dashes instead of camel-case. For example:

Here is a CollectionViewPager:</p>
<wj-collection-view-pager
  cv="myCollectionView">
</wj-collection-view-pager>

Example

This example creates a CollectionView with 100,000 items and 20 items per page. It defines a navigator to select the current page, another to select the current item, and shows the data in a FlexGrid.

The wj-collection-view-pager directive has a single attribute:

cv
= A reference to the paged ICollectionView object to navigate.

Heirarchy

  • WjDirective
    • WjCollectionViewPager