TC.vtcGetCell

Returns the data in a field.

Equivalent method in VuGen: lrvtc_query_column

TC.vtcGetCell(colName, rowIndex, vtsName);

Arguments

Name Description

colName

(string) The name of the column.
rowIndex (integer) The index number of the field. 1 is the first field in the column.
vtsName

(Optional)

(string) The alias of the VTS server.

Return value

A promise that is fulfilled with a string if completed successfully. If data exists in the specified column and row, it returns a string that represents the data in the specified cell.

If the specified column or index does not exist, it returns null.

Example

Copy code
(async ()=>{
    let data = await TC.vtcGetCell("MyColumn1", 1); 
})();