Share this page

# TC.vtcUpdateRowCells

Replaces the data in multiple fields.

If the column name or index does not exist, the column and/or the cell referenced by the index is created, and the cell contents are set to the argument value.

Equivalent method in VuGen: lrvtc_update_row1

    TC.vtcUpdateRowCells(colNames, rowIndex, values, vtsName);

## Arguments

Name | Description
--- | ---
colNames | (string) The names of the columns, delimited by a semicolon.
rowIndex | (integer) The index number of the field. 1 is the first field in the column.
values | (string) The values, delimited by a semicolon.
vtsName (Optional) | (string) The 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.vtcUpdateRowCells("MyColumn1;MyColumn2",1, "1;2")
    })();

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