public TableView(model as TableModel = null)
Creates a table view with an optional model.
table = TableView(model)