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.vtcAddCells("MyColumn1;MyColumn2;MyColumn3", "111;222;333", 1); 
})();