addRow method

void addRow(
  1. FlexTableRow row
)

Adds a row to the bottom / end of the FlexTable. This will fire an event that can be listened for on the rowStream.

When adding multiple rows, it is strongly suggested to use the addRows function instead as this will fire an event for each row, which can trigger a lot of sorting and filter processing where as addRows will only trigger a single event once all the rows have been added.

Implementation

void addRow(FlexTableRow row) {
  _allRows.add(row);
  _sortAndFilter();
}