Forum Discussion

tvklovesu's avatar
tvklovesu
Frequent Contributor
11 months ago

Removing a row from Table variable

I am trying to remove a row from the table variable, but I am getting the following error.

 

tab.$remove is not a function

 

var tab = ProjectSuite.Variables.VariableByName(tabelName)
var rowCount = tab.RowCount
for (i=0; i<rowCount; i++) {
   var rowCellValue = tab.$get(ColumnName, i)
   if (rowCellValue == cellValue){
       break;
   }
}
tab.$remove("Item", ColumnName, i, cellValue)

 

I can't find documentation on how to remove the row item. 

Thanks 

3 Replies