package fancy;

import fancy.table.*;

class Table {
  var rows : Array<Row>;

  public function new() {
    rows = [];
  }

  public function appendRow() : Table {
    rows.push(new Row());
    return this;
  }

  public function appendColumn() : Table {
    return this;
  }

  public function render() {

  }
}

package fancy;

import fancy.table.*;
import fancy.browserHelpers.Dom;
import js.html.Element;

class Table {
  var parent : Element;
  var el : Element;
  var rows : Array<Row>;

  public function new(parent : Element, options : FancyTableOptions) {
    this.parent = parent;
    rows = [];
    this.el = Dom.create(".fancy-table");
  }

  public function appendRow() : Table {
    rows.push(new Row());
    return this;
  }

  public function appendColumn() : Table {
    return this;
  }
}

Add some more constructor ideas that don't compile
Add some more constructor ideas that don't compile

mlms13/FancyTable,mlms13/FancyTable,mlms13/FancyTable