Find Item/Row

Last modified: June 18, 2025

Description

Finds a Row/Item in a DataGrid, TemplateGrid or ListView by a given index.

Supported Widgets

  • DataGrid
  • TemplateGrid
  • ListView

Usage

Provide the name of the DataGrid, TemplateGrid or ListView and the zero-based index of the row.

Optionally you can provide a WebElement as search context, to narrow down the search for the widget, if there are two or more widgets with the same name.

Input Parameters

NameDatatypeRequiredDescription
Widget NameStringyesThe name of the DataGrid, TemplateGrid or Listview
IndexIntegeryesThe index of the Item/Row to find
Search ContextWebElementnoLimit the search to the given WebElement

Return Value

NameDatatypeDescription
Item/RowWebElementThe DataGrid Row or TemplateGrid/ListView Item.