TC.vtcRotateCells
Retrieves the first field from all columns and moves the values to the bottom.
Equivalent method in VuGen: lrvtc_rotate_row
TC.vtcRotateCells(option, vtsName);
Arguments
Name | Description |
---|---|
option | (integer) Defines how the values are rotated.
|
vtsName (Optional) | (string) The alias of the VTS server. |
Return value
A promise fulfilled with an object, which contains the first field from the columns. If there is no data in a row, a null value is retrieved.
If a column is empty, the value is an empty string. For example, {col1:"larry",col2:""}
.
Example
(async ()=>{
let datas = await TC.vtcRotateCells(1);
})();