SelectRowByKey() method
- Last UpdatedNov 26, 2024
- 1 minute read
Use the SelectRowByKey() method to search for the specified job in the grid and select the row containing the job. If the job is not found, the first row of the grid is selected by default.
Syntax
result = SelectRowByKey(Job, SelectFirstRowAsDefault);
Parameters
job
A string containing the work order ID + "_" + the operation ID + "_" + the sequence number of the job.
SelectFirstRowAsDefault
A Boolean value that specifies whether to select the first row as default. The first row is always selected by default if the job is not found.
Return Value
result
A Boolean value that is True, if the row containing the job is found; otherwise it returns False.