Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

GetSelectedItem() method

  • Last UpdatedJul 19, 2024
  • 1 minute read

The GetSelectedItem method returns the data at the currently selected row and specified column. The column name can either be the original column name, or the displayed column name.

Syntax

Result = AlarmClient.GetSelectedItem(ColumnName);

Parameters

ColumnName

Name of the column.

Return Value

Returns the data in the currently selected row and specified column as a string value.

Example

Data2 = AlarmClient1.GetSelectedItem ("State");

LogMessage("The current state of the selected alarm record is " + Data2);

Remarks

To get alarm record data from a given column name and row index, use the GetItem method.

In This Topic
TitleResults for “How to create a CRG?”Also Available in