SelectedItem property

Official Content
This documentation is valid for:

Read-only property for getting the index of the selected item in the Grid. When there is no selected item or the Grid admits multiple selections it will return 0 (empty value).

Warning: If this property is read in the ClientStart event after executing the Select method, it will return the empty value (i.e. 0) because the Grid's content will not be loaded until after the execution of the Load event..

Syntax

<index> = Grid.SelectedItem

where Grid is the grid control name and <index> a Numeric expression (variable or attribute).

Run-time/Design-time

This property applies only at design-time.

Scope

Controls Grid control
Platforms Smart Devices (iOS,Android)

Availability

This property is available as of GeneXus 15 Upgrade 6 for iOS and GeneXus 15 Upgrade 7 for Android..

See also