Class
TablePagerSettings

Definition

Constructors

TablePagerSettings()

Declaration

cs-api-definition
public TablePagerSettings()

Properties

Adaptive

Enables responsive design that automatically adjusts pager layout and controls based on screen size for better mobile experience.

Declaration

cs-api-definition
[Parameter]
public bool Adaptive { get; set; }

Property Value

bool

ButtonCount

Sets the maximum number of page navigation buttons to display at once. Only applies when InputType is set to Buttons.

Declaration

cs-api-definition
[Parameter]
public int ButtonCount { get; set; }

Property Value

int

InputType

Controls how users navigate between pages. Use Buttons for clickable numbered page buttons with previous/next navigation, or Input for a text input field where users can type specific page numbers.

Declaration

cs-api-definition
[Parameter]
public PagerInputType InputType { get; set; }

Property Value

PagerInputType

PageSizes

Sets the available page size options in the pager dropdown. Users can choose how many items to display per page. Use null values to include an "All" option that shows all items on one page.

Declaration

cs-api-definition
[Parameter]
public List<int?> PageSizes { get; set; }

Property Value

List<int?>

Position

Sets where the pager appears relative to the data. Use Top to show pagination controls above the grid data, or Bottom to show them below the grid data (default position).

Declaration

cs-api-definition
[Parameter]
public PagerPosition Position { get; set; }

Property Value

PagerPosition

Methods

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSet()

Declaration

cs-api-definition
protected override void OnParametersSet()

Overrides ComponentBase.OnParametersSet()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)