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.

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;