ClassKendoGrid
KendoGrid control.
Definition
Namespace:Telerik.TestingFramework.Controls.KendoUI
Assembly:Telerik.TestingFramework.Controls.KendoUI.dll
Syntax:
public class KendoGrid : KendoUIContainerControlBase
Inheritance: objectControlHtmlControlHtmlContainerControlKendoUIContainerControlBaseKendoGrid
Inherited Members
Constructors
KendoGrid()
Initializes a new instance of the KendoGrid class.
Declaration
public KendoGrid()
KendoGrid(Element)
Initializes a new instance of the KendoGrid class.
Properties
ClientSideLocator
The client-side locator of the KendoGrid control.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
DataItems
Get the list of the children data items of this table.
Declaration
public IList<KendoGridDataItem> DataItems { get; }
Property Value
Groupable
shows whether the grid is groupable
Groups
shows the groups by which the grid is grouped
Selectable
shows whether the grid is multi-select, multi-cell-select or selection is not active
SelectedIndexes
Collection containing the indexes of the expanded items for the current Grid.
Declaration
public IndexesCollection SelectedIndexes { get; }
Property Value
SelectedItems
Get the list of selected items.
Declaration
public IList<KendoGridDataItem> SelectedItems { get; }
Property Value
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The base element.
Overrides
ClearSelection()
Clears all selected items in the Grid.
Declaration
public void ClearSelection()
FindItems(Predicate<KendoGridDataItem>)
Get the list of the data items matching the given predicate.
Declaration
public IList<KendoGridDataItem> FindItems(Predicate<KendoGridDataItem> predicate)
Parameters
predicate
The predicate to search for.
Returns
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
SelectItembyIndex(int)
Selects Grid item by index.
Declaration
public void SelectItembyIndex(int index)
Parameters
index
The index of the item to be selected.