Class TableGridBase<TItem, TCommandEventArgs>
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll
Syntax
public abstract class TableGridBase<TItem, TCommandEventArgs> : GridBase<TItem>, IDisposable, IPagerContainer, IColumnContainer, IRowDraggableContainer, IValidationContainer, IPopupEditSettingsContainer where TCommandEventArgs : TableGridBaseCommandEventArgs, new()
Type Parameters
TItem
|
TCommandEventArgs
|
Constructors
TableGridBase()
Declaration
protected TableGridBase()
Properties
AutoGenerateColumns
Defines whether the Component will auto-generate columns for you.
Declaration
public bool AutoGenerateColumns { get; set; }
Property Value
System.Boolean
|
ColumnVirtualization
Defines whether the Component has Column Virtualization enabled.
Declaration
public bool ColumnVirtualization { get; set; }
Property Value
System.Boolean
|
ConfirmDelete
Defines whether deleting a record should be confirmed.
Declaration
public bool ConfirmDelete { get; set; }
Property Value
System.Boolean
|
DialogFactory
EnableLoaderContainer
Defines whether the loading container should be shown when there are long-running operations.
Declaration
public bool EnableLoaderContainer { get; set; }
Property Value
System.Boolean
|
FilterMenuType
Defines the filter menu type when "FilterMode" is set to "FilterMenu".
Declaration
public FilterMenuType FilterMenuType { get; set; }
Property Value
Telerik.Blazor.FilterMenuType
|
FilterRowDebounceDelay
Time in ms between the last typed symbol and the firing of the internal filter oninput event. Default is 150ms.
Declaration
public int FilterRowDebounceDelay { get; set; }
Property Value
System.Int32
|
Id
Specifies the id of the Component.
Declaration
public string Id { get; set; }
Property Value
System.String
|
Navigable
NoDataTemplate
Defines the template that will be displayed when the component has no data to show.
Declaration
public RenderFragment NoDataTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
OnAdd
Fires when the Add command is executed.
Declaration
public EventCallback<TCommandEventArgs> OnAdd { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TCommandEventArgs>
|
OnCancel
Fires when the Cancel command is executed.
Declaration
public EventCallback<TCommandEventArgs> OnCancel { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TCommandEventArgs>
|
OnCreate
Fires when the Create command is executed.
Declaration
public EventCallback<TCommandEventArgs> OnCreate { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TCommandEventArgs>
|
OnDelete
Fires when the Delete command is executed.
Declaration
public EventCallback<TCommandEventArgs> OnDelete { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TCommandEventArgs>
|
OnEdit
Fires when the Edit command is executed.
Declaration
public EventCallback<TCommandEventArgs> OnEdit { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TCommandEventArgs>
|
OnUpdate
Fires when the Update command is executed.
Declaration
public EventCallback<TCommandEventArgs> OnUpdate { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<TCommandEventArgs>
|
Reorderable
Defines whether the columns of the Component can be reordered.
Declaration
public bool Reorderable { get; set; }
Property Value
System.Boolean
|
Resizable
Defines whether the columns of the Component can be resized.
Declaration
public bool Resizable { get; set; }
Property Value
System.Boolean
|
RowDraggable
Defines whether the component rows should be draggable.
Declaration
public bool RowDraggable { get; set; }
Property Value
System.Boolean
|
RowHeight
Defines the height of each row in the Component. Accepts a number and is applied as pixels.
Declaration
public Decimal RowHeight { get; set; }
Property Value
System.Decimal
|
RowTemplate
Defines the row template of the Component.
Declaration
public RenderFragment<TItem> RowTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<TItem>
|
SelectedItems
Defines the predefined collection of selected items.
Declaration
public IEnumerable<TItem> SelectedItems { get; set; }
Property Value
System.Collections.Generic.IEnumerable<TItem>
|
SelectedItemsChanged
The event that is triggered when the selected items are changed.
Declaration
public EventCallback<IEnumerable<TItem>> SelectedItemsChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Collections.Generic.IEnumerable<TItem>>
|
Sortable
Defines whether the Component is sortable.
Declaration
public bool Sortable { get; set; }
Property Value
System.Boolean
|
SortMode
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
GetItemFromDropIndex(Int32)
Declaration
protected abstract TItem GetItemFromDropIndex(int index)
Parameters
System.Int32
index
|
Returns
TItem
|
GetItemFromDropIndex(String)
Declaration
public TItem GetItemFromDropIndex(string index)
Parameters
System.String
index
|
Returns
TItem
|
PageData()
Declaration
protected virtual Task PageData()
Returns
System.Threading.Tasks.Task
|
ResetEditContext()
Declaration
protected void ResetEditContext()