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

AVEVA™ Manufacturing Execution System 2023 R2

SelectedRowChanged event

  • Last UpdatedNov 26, 2024
  • 1 minute read

When the script runs and needs an information from a row, you can use the SelectedRowChanged event. This event is triggered when an operator selects a new row. The row is returned as a part of the event. This event does not trigger when the grid is initially loaded or shows only one record.

The Edit Animations dialog showing the parameters associated with the SelectedRowChanged event.

However, for scripts outside the .NET control, a reference to the name of the control is required. For example, to get access to the Queue Control displayed in the image, a reference to the name is required:

dim row as xceed.grid.datarow;

row = QueueControl1.FactGrid.SelectedRow;

if (row <> null) then

ProcessID = row.Cells("process_id").value;

endif;

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