Show / Hide Table of Contents

Class AbpExtensibleDataGrid<TItem>

Inheritance
object
ComponentBase
AbpExtensibleDataGrid<TItem>
Implements
IComponent
IHandleEvent
IHandleAfterRender
Inherited Members
ComponentBase.OnInitialized()
ComponentBase.OnInitializedAsync()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.OnAfterRenderAsync(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlazoriseUI.Components
Assembly: Volo.Abp.BlazoriseUI.dll
Syntax
public class AbpExtensibleDataGrid<TItem> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Type Parameters
Name Description
TItem

Constructors

AbpExtensibleDataGrid()

Declaration
public AbpExtensibleDataGrid()

Fields

ActionColumns

Declaration
protected Dictionary<string, DataGridEntityActionsColumn<TItem>> ActionColumns
Field Value
Type Description
Dictionary<string, DataGridEntityActionsColumn<TItem>>

DataFieldAttributeName

Declaration
protected const string DataFieldAttributeName = "Data"
Field Value
Type Description
string

ExtensionPropertiesRegex

Declaration
protected Regex ExtensionPropertiesRegex
Field Value
Type Description
Regex

Properties

AutoGenerateColumns

Declaration
[Parameter]
public bool AutoGenerateColumns { get; set; }
Property Value
Type Description
bool

Class

Declaration
[Parameter]
public string? Class { get; set; }
Property Value
Type Description
string

Columns

Declaration
[Parameter]
public IEnumerable<TableColumn> Columns { get; set; }
Property Value
Type Description
IEnumerable<TableColumn>

CurrentPage

Declaration
[Parameter]
public int CurrentPage { get; set; }
Property Value
Type Description
int

Data

Declaration
[Parameter]
public IEnumerable<TItem> Data { get; set; }
Property Value
Type Description
IEnumerable<TItem>

PageSize

Declaration
[Parameter]
public int PageSize { get; set; }
Property Value
Type Description
int

ReadData

Declaration
[Parameter]
public EventCallback<DataGridReadDataEventArgs<TItem>> ReadData { get; set; }
Property Value
Type Description
EventCallback<DataGridReadDataEventArgs<TItem>>

Responsive

Declaration
[Parameter]
public bool Responsive { get; set; }
Property Value
Type Description
bool

ShowPager

Declaration
[Parameter]
public bool ShowPager { get; set; }
Property Value
Type Description
bool

StringLocalizerFactory

Declaration
[Inject]
public IStringLocalizerFactory StringLocalizerFactory { get; set; }
Property Value
Type Description
IStringLocalizerFactory

TotalItems

Declaration
[Parameter]
public int? TotalItems { get; set; }
Property Value
Type Description
int?

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

GetConvertedFieldValue(TItem, TableColumn)

Declaration
protected virtual string GetConvertedFieldValue(TItem item, TableColumn columnDefinition)
Parameters
Type Name Description
TItem item
TableColumn columnDefinition
Returns
Type Description
string

RenderCustomTableColumnComponent(Type, object)

Declaration
protected virtual RenderFragment RenderCustomTableColumnComponent(Type type, object data)
Parameters
Type Name Description
Type type
object data
Returns
Type Description
RenderFragment

Implements

IComponent
IHandleEvent
IHandleAfterRender

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform