Table.getColumns

Returns an array of all columns in the table.

Javascript example:

 var cols = tables.ORDERS.getColumns();
 for each (var col in cols)
 {
   log(col.elementName + ": " + col.value);
 }
 

returns UNKNOWNcom.ebasetech.xi.api.TableColumn[]