ClassGridBase<TItem>
Definition
Namespace:Telerik.Blazor.Components.Common
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
Syntax:
public abstract class GridBase<TItem> : DataBoundComponent<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentDataBoundComponent<TItem>GridBase<TItem>
Derived Classes:
Implements:
Inherited Members
Constructors
GridBase()
Declaration
protected GridBase()
Properties
Height
Defines the height of the component as a CSS value.
OnModelInit
Fires when a new instance of the model is about to be created. Useful when no parameterless constructor is implemented. If the delegate is not defined, Activator.CreateInstance
method is used to create a new model instance.
Declaration
[Parameter]
public Func<TItem> OnModelInit { get; set; }
Property Value
Func<TItem>
Page
Defines the selected page. Default value is 1. Requires Pageable="true".
PageChanged
Fires when the user changes the page.
Declaration
[Parameter]
public EventCallback<int> PageChanged { get; set; }
Property Value
PageSize
Defines the page size of the component. Requires Pageable="true".
PageSizeChanged
Fires when new page size is selected.
Declaration
[Parameter]
public EventCallback<int> PageSizeChanged { get; set; }
Property Value
Pageable
Defines whether the component is pageable.