Show / Hide Table of Contents

Class AbpExtensibleDataGrid<TItem>

Inheritance
object
Microsoft.AspNetCore.Components.ComponentBase
AbpExtensibleDataGrid<TItem>
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
Inherited Members
Microsoft.AspNetCore.Components.ComponentBase.OnInitialized()
Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSet()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSetAsync()
Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged()
Microsoft.AspNetCore.Components.ComponentBase.ShouldRender()
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRender(bool)
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRenderAsync(bool)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Action)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Func<System.Threading.Tasks.Task>)
Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView)
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
System.Collections.Generic.Dictionary<TKey, TValue><string, DataGridEntityActionsColumn<TItem>>

DataFieldAttributeName

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

ExtensionPropertiesRegex

Declaration
protected Regex ExtensionPropertiesRegex
Field Value
Type Description
System.Text.RegularExpressions.Regex

Properties

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
System.Collections.Generic.IEnumerable<T><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
System.Collections.Generic.IEnumerable<T><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
Microsoft.AspNetCore.Components.EventCallback<TValue><Blazorise.DataGrid.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
Microsoft.Extensions.Localization.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
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
Overrides
Microsoft.AspNetCore.Components.ComponentBase.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.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
System.Type type
object data
Returns
Type Description
Microsoft.AspNetCore.Components.RenderFragment

Implements

Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft