addRow method

void addRow()

Implementation

void addRow() {
  setState(() {
    _tableEntity.rows.add(RowEntity(columns: _tableEntity.columns));
    _tableEntity.updateAutoIncreaseColumn();
  });
  if (widget.onRowAdded != null) widget.onRowAdded!();
}