ClassTelerikBlazorGrid
TelerikBlazorGrid control wrapper.
Definition
Namespace:Telerik.TestingFramework.Controls.TelerikUI.Blazor.Grid
Assembly:Telerik.TestingFramework.Controls.TelerikUI.Blazor.dll
Syntax:
public class TelerikBlazorGrid : TelerikBlazorContainerControlBase
Inheritance: objectControlHtmlControlHtmlContainerControlTelerikBlazorContainerControlBaseTelerikBlazorGrid
Inherited Members
Constructors
TelerikBlazorGrid()
Initializes a new instance of the TelerikBlazorGrid class.
Declaration
public TelerikBlazorGrid()
TelerikBlazorGrid(Element)
Initializes a new instance of the TelerikBlazorGrid class.
Properties
DataItems
Gets the list of the children data items of this table.
Declaration
public IList<TelerikBlazorGridDataItem> DataItems { get; }
Property Value
Groups
Shows the groups by which the grid is grouped as a comma-separated string
IsGroupable
Shows whether the TelerikBlazorGrid is groupable
SelectedItemsCount
Gets the count of selected items.
SortedAscendingBy
Gets the name of the column by which the grid is sorted ascending, or "n/a" if the grid is not sorted ascending.
SortedDescendingBy
Gets the name of the column by which the grid is sorted descending, or "n/a" if the grid is not sorted descending.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element.
Overrides
FindItems(Predicate<TelerikBlazorGridDataItem>)
Gets a list of all data items matching the given predicate.
Declaration
public IList<TelerikBlazorGridDataItem> FindItems(Predicate<TelerikBlazorGridDataItem> predicate)
Parameters
predicate
Predicate<TelerikBlazorGridDataItem>
The predicate to search for.
Returns
IList<TelerikBlazorGridDataItem>
The list of the data items matching the given predicate.
InitializeMatchExpression()
Initializes the control match expression pattern used to identify an element as a specific control.
Declaration
protected override void InitializeMatchExpression()
Overrides
SortBy(string)
Declaration
public void SortBy(string sortByColumn)
Parameters
sortByColumn