Blazor Tree Grid Pagination Overview

    The Ignite UI for Blazor Pagination feature in Blazor Tree Grid is used to split a large set of data into a sequence of pages that have similar content. React grid pagination improves user experience and data interaction. IgbTreeGrid pagination is configurable via a separate component projected in the grid tree by defining a IgbPaginator tag, similar to adding of a column. As in any Blazor table, the pagination in the Blazor Tree Grid supports template for custom pages.

    Blazor Tree Grid Pagination Example

    The following example represents IgbTreeGrid pagination and exposes the options usage of items per page and how paging can be enabled. The user can also quickly navigate through the IgbTreeGrid pages via "Go to last page" and "Go to first page" buttons.

    EXAMPLE
    MODULES
    DATA
    RAZOR
    CSS

    .gridSize {
        --ig-size: var(--ig-size-small);
    }
    css
    <IgbTreeGrid @ref=grid Class="gridSize" Width="100%" Height="500px" Data=Data>
        <IgbPaginator PerPage="10"></IgbPaginator>
    </IgbTreeGrid>
    razor

    Usage

    The IgbPaginator component is used along with the IgbTreeGrid component in the example below, but you can use it with any other component in case paging functionality is needed.

    <IgbTreeGrid @ref=grid Data=Data className="gridSize">
        <IgbPaginator Page="grid.Page" TotalRecords="grid.TotalRecords" PerPage="10">
        </IgbPaginator>
    </IgbTreeGrid>
    razor

    Paginator Component Demo

    EXAMPLE
    MODULES
    DATA
    RAZOR
    JS
    CSS

    API References

    Additional Resources

    Our community is active and always welcoming to new ideas.