Share this page

# 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);
    })();

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: