ASP.NET Core MVC Controls | ComponentOne
In This Topic
    IPagedCollectionView Interface
    In This Topic
    File
    wijmo.js
    Module
    wijmo.collections
    Implements
    ICollectionView

    Defines methods and properties that extend ICollectionView to provide paging capabilities.

    Properties

    Methods

    Properties

    canChangePage

    Gets a value that indicates whether the pageIndex value can change.

    Type
    boolean

    isPageChanging

    Gets a value that indicates whether the index is changing.

    Type
    boolean

    itemCount

    Gets the number of items in the view taking paging into account.

    To get the total number of items, use the totalItemCount property.

    Notice that this is different from the .NET IPagedCollectionView, where itemCount and totalItemCount both return the count before paging is applied.

    Type
    number

    pageChanged

    Occurs after the page index changes.

    Type
    EventArgs>

    pageChanging

    Occurs before the page index changes.

    Type
    Event

    pageIndex

    Gets the zero-based index of the current page.

    Type
    number

    pageSize

    Gets or sets the number of items to display on each page.

    Type
    number

    totalItemCount

    Gets the total number of items in the view before paging is applied.

    To get the number of items in the current view taking paging into account, use the itemCount property.

    Notice that this is different from the .NET IPagedCollectionView, where itemCount and totalItemCount both return the count before paging is applied.

    Type
    number

    Methods

    moveToFirstPage

    moveToFirstPage(): boolean
    

    Sets the first page as the current page.

    Returns
    boolean

    moveToLastPage

    moveToLastPage(): boolean
    

    Sets the last page as the current page.

    Returns
    boolean

    moveToNextPage

    moveToNextPage(): boolean
    

    Moves to the page after the current page.

    Returns
    boolean

    moveToPage

    moveToPage(index: number): boolean
    

    Moves to the page at the specified index.

    Parameters
    • index: number

      Index of the page to move to.

    Returns
    boolean

    moveToPreviousPage

    moveToPreviousPage(): boolean
    

    Moves to the page before the current page.

    Returns
    boolean