Class GridBase<TItem>
Inherited Members
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll
Syntax
public abstract class GridBase<TItem> : DataBoundComponent<TItem>, IDisposable, IPagerContainer
Type Parameters
TItem
|
Constructors
GridBase()
Declaration
protected GridBase()
Properties
Height
Defines the height of the component as a CSS value.
Declaration
public string Height { get; set; }
Property Value
System.String
|
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
public Func<TItem> OnModelInit { get; set; }
Property Value
System.Func<TItem>
|
Page
Defines the selected page. Default value is 1. Requires Pageable="true".
Declaration
public virtual int Page { get; set; }
Property Value
System.Int32
|
Pageable
Defines whether the component is pageable.
Declaration
public bool Pageable { get; set; }
Property Value
System.Boolean
|
PageChanged
Fires when the user changes the page.
Declaration
public EventCallback<int> PageChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Int32>
|
PageSize
Defines the page size of the component. Requires Pageable="true".
Declaration
public int PageSize { get; set; }
Property Value
System.Int32
|
PageSizeChanged
Fires when new page size is selected.
Declaration
public EventCallback<int> PageSizeChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Int32>
|
TotalCount
Declaration
protected virtual int TotalCount { get; set; }
Property Value
System.Int32
|
Width
Defines the width of the Component as a CSS value.
Declaration
public string Width { get; set; }
Property Value
System.String
|