Share this page

# TC.vtcAddCell

Adds a new cell with the specified value in the last field of a column.

If the column specified in the argument does not exist, the column is created, and the cell content is set to the argument value.

    TC.vtcAddCell(colName, value, vtsName);

Equivalent method in VuGen: lrvtc_send_message

## Arguments

Name | Description
--- | ---
colName | (string) Name of the column.
value | (string) Value to add.
vtsName (Optional) | (string) Alias of the VTS server.

## Return value

A promise that is fulfilled with 0 if completed successfully.

## Example

Copy code

    (async ()=>{
        let ret = await TC.vtcAddCell("MyColumn1", "myValue1");
    })();

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: