TCA.vtcRotateCell
Retrieves the first field from the specified column and moves the value to the bottom.
Equivalent method in VuGen VTS: lrvtc_rotate_message
TCA.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
TCA.vtcRotateCell("MyColumn1", 1, "MyVts").then(function(result){
TCA.done(result);
}).catch(function (error) {
TCA.doneWithError(error);
});