Official Content

This event is triggered when the end user selects a new item in a Grid control or Tabular Grid control, both programmatically (by using Select/Deselect methods) or interactively (by tapping on a row). In this last case, the event will be executed before the default action.

Syntax

Event GridControlName.SelectionChanged
     <event code>
EndEvent

Where:
GridControlName
       Is the Grid control name.

<event code> 
       Code executed when the event is triggered.

Note: This event will not be triggered when the Selection Type property is set to 'No selection'.

Limitations

The SelectionChanged event cannot access attribute values. Use the default action event for that.

Scope

Controls: Grid controlTabular Grid control
Generators:  AppleAndroidAngular

See Also

Grids with Selection By Code for Panels
Select method
SelectedItem property
Deselect method

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant