TCA.vtcGetCell
Returns the data in a field.
Equivalent method in VuGen VTS: lrvtc_query_column
TCA.vtcGetCell(colName, rowIndex, vtsName);
Arguments
Name | Description |
---|---|
colName | (string) The name of the column. |
rowIndex | (integer) The index number of the field. 1 is the first field in the column. |
vtsName (Optional) | (string) The alias of the VTS server. |
Return value
If data exists in the column and row specified, it returns a promise that will be fulfilled with a string, which is the data in the specified cell.
Returns a promise that will be fulfilled with null if specified column or index does not exist..
Example
TCA.vtcGetCell("MyColumn",1,"MyVts").then(function(result){
TCA.done(result);
}).catch(function (error) {
TCA.doneWithError(error);
});