Get Visible Item/Row Count

Last modified: June 18, 2025

Description

Returns the number of currently visible Items/Rows in a TemplateGrid, DataGrid or ListView.

Supported Widgets

  • DataGrid
  • TemplateGrid
  • ListView

Usage

You have to pass the widget name to the action. 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
Search ContextWebElementnoLimit the search to the given WebElement

Return Value

NameDatatypeDescription
Item/Row CountIntegerThe number of visible Items/Rows.