RayCraftDocs
v1.0.3 raycraft.dev
On this page

Pagination

Free

Page selector with ellipsis for long ranges.

Example

Pagination control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
CountintTotal number of pages.
PageintCurrent page, starting at 1. Use with @bind-Page.
PageSizeintRows per page.
PageSizeOptionsIEnumerable<int>Row counts offered in a drop-down under the table.
SiblingsintPages shown on each side of the current page.
StylestringInline style added to the root element.

Events

EventTypeDescription
PageChangedEventCallback<int>Raised when the page changes.
PageSizeChangedEventCallback<int>Raised when another page size is chosen.

Package

Pagination is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.