如何以编程方式循环 table 行

How to cycle through table rows programmatically

我需要处理来自 table 的数据,以编程方式遍历 table 行的最佳方法是什么?

const rows = table.getRows();
console.log('rows', rows);

Returns 一个数组,你可以遍历它