getEmptyRowModel method
Implementation
TableRowModel? getEmptyRowModel() {
// build prototype
XmlElement? prototype = S.fromPrototype(this.prototype, "${this.id}-${0}");
// build model
TableRowModel? model =
TableRowModel.fromXml(this, prototype, data: null);
model?.cells.forEach((cell) => cell.visible = false);
return model;
}