TCA.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.
Equivalent method in VuGen VTS: lrvtc_send_message
TCA.vtcAddCell(colName, value, vtsName);
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. Upon failure, an exception is thrown.
Example
TCA.vtcAddCell("MyColumn","myValue","MyVts").then(function(result){
TCA.done(result);
}).catch(function (error) {
TCA.doneWithError(error);
});