TC.vtcRotateCell
Retrieves the first field from the specified column and moves the value to the bottom.
Equivalent method in VuGen: lrvtc_rotate_messages
TC.vtcRotateCell(colName, option, vtsName);
Arguments
Name | Description |
---|---|
colName | (string) The name of the column. |
option | (integer) Defines how the values are rotated.
|
vtsName (Optional) | (string) The alias of the VTS server. |
Return value
A promise that is fulfilled with a string, which is the first field of the specified column. If the column name does not exist, a null value is returned, and a new column is added to the table.
If the column is empty, the value is an empty string.
Example
(async ()=>{
let data = await TC.vtcRotateCell("MyColumn1", 1);
})();