Paginator component description

Inheritance

object
Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable
  • IDisposable

constructor

public IgbPaginator()

Returns IgbPaginator

Inherited from: BaseRendererElement

[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }

Inherited from: BaseRendererElement

public bool IsComponentRooted { get; }

Inherited from: BaseRendererElement

protected virtual string ParentTypeName { get; }

Inherited from: BaseRendererElement

protected virtual bool UseDirectRender { get; }

Inherited from: BaseRendererElement

[Parameter]
public RenderFragment ChildContent { get; set; }

Inherited from: BaseRendererElement

protected virtual bool SupportsVisualChildren { get; }

Inherited from: BaseRendererElement

[Parameter]
public string Name { get; set; }

Inherited from: BaseRendererElement

public object Parent { get; }

Inherited from: BaseRendererElement

protected virtual string MethodTarget { get; }

Inherited from: BaseRendererElement

protected object CurrParent { get; }
[CascadingParameter(Name = "GridBaseDirectiveParent")]
protected BaseRendererControl GridBaseDirectiveParent { get; set; }
[CascadingParameter(Name = "HierarchicalGridParent")]
protected BaseRendererControl HierarchicalGridParent { get; set; }

Sets custom OverlaySettings.

[Parameter]
public IgbOverlaySettings OverlaySettings { get; set; }

Gets/Sets the current page of the paginator. The default is 0.

[Parameter]
public double Page { get; set; }

Gets/Sets the number of visible items per page in the paginator. The default is 15.

[Parameter]
public double PerPage { get; set; }

An accessor that sets the resource strings. By default it uses EN resources.

[Parameter]
public IgbPaginatorResourceStrings ResourceStrings { get; set; }
[CascadingParameter(Name = "RowIslandParent")]
protected BaseRendererElement RowIslandParent { get; set; }

Sets custom options in the select of the paginator

[Parameter]
public double[] SelectOptions { get; set; }

Total pages calculated from totalRecords and perPage

[Parameter]
public double TotalPages { get; set; }

Sets the total records.

[Parameter]
public double TotalRecords { get; set; }
public override string Type { get; }

Inherited from: BaseRendererElement

protected string _name

Inherited from: BaseRendererElement

protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache

Inherited from: BaseRendererElement

protected string _cachedSerializedContent

Inherited from: BaseRendererElement

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

OnElementNameChanged(BaseRendererElement, string, string)

Section titled "OnElementNameChanged(BaseRendererElement, string, string)"

Inherited from: BaseRendererElement

protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)

Parameters

  • element: BaseRendererElement
  • oldName: string
  • newName: string

Returns any

InvokeMethod(string, object[], string[], ElementReference[])

Section titled "InvokeMethod(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodSync(string, object[], string[], ElementReference[])

Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelper(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelper(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethodHelper(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodHelperSync(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

Inherited from: BaseRendererElement

protected bool IsPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

Serialize(SerializationContext, string)

Section titled "Serialize(SerializationContext, string)"

Inherited from: BaseRendererElement

public void Serialize(SerializationContext context, string propertyName = null)

Parameters

  • context: SerializationContext
  • propertyName: string

Returns any

Inherited from: BaseRendererElement

public string Serialize()

Returns any

Inherited from: BaseRendererElement

protected void EnsureValid()

Returns any

FromEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "FromEventJson(BaseRendererControl, Dictionary<string, object>)"

Inherited from: BaseRendererElement

protected virtual void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

ToEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "ToEventJson(BaseRendererControl, Dictionary<string, object>)"

Inherited from: BaseRendererElement

protected virtual void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

SetResourceStringAsync(string, string, string)

Section titled "SetResourceStringAsync(string, string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string id, string value)

Parameters

  • grouping: string
  • id: string
  • value: string

Returns any

SetResourceStringAsync(string, string)

Section titled "SetResourceStringAsync(string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string json)

Parameters

  • grouping: string
  • json: string

Returns any

public void Dispose()

Returns any

protected override void EnsureModulesLoaded()

Returns any

public override object FindByName(string name)

Parameters

  • name: string

Returns any

public bool GetIsFirstPage()

Returns any

public Task<bool> GetIsFirstPageAsync()

Returns any

public bool GetIsLastPage()

Returns any

public Task<bool> GetIsLastPageAsync()

Returns any

public void NextPage()

Returns any

Goes to the next page of the IgxPaginatorComponent, if the paginator is not already at the last page.

public Task NextPageAsync()

Returns any

protected override Task OnInitializedAsync()

Returns any

public void Paginate(double val)

Parameters

  • val: double

Returns any

Goes to the desired page index. val

public Task PaginateAsync(double val)

Parameters

  • val: double

Returns any

public void PreviousPage()

Returns any

Goes to the previous page of the IgxPaginatorComponent, if the paginator is not already at the first page.

public Task PreviousPageAsync()

Returns any

public void SetNativeElement(object element)

Parameters

  • element: object

Returns any

public Task SetNativeElementAsync(object element)

Parameters

  • element: object

Returns any

[Parameter]
public EventCallback<IgbNumberEventArgs> PageChange { get; set; }
[Parameter]
public EventCallback<IgbPageCancellableEventArgs> Paging { get; set; }
[Parameter]
public EventCallback<IgbPageEventArgs> PagingDone { get; set; }
[Parameter]
public EventCallback<IgbNumberEventArgs> PerPageChange { get; set; }
[Parameter]
public string PageChangeScript { get; set; }
[Parameter]
public string PagingDoneScript { get; set; }
[Parameter]
public string PagingScript { get; set; }
[Parameter]
public string PerPageChangeScript { get; set; }