init(columns: () -> Columns, rows: () -> Rows)
Creates a table with the given columns and rows.
Available when
Value
is Rows.TableRowValue
, Rows
conforms to TableRowContent
, Columns
conforms to TableColumnContent
, and Rows.TableRowValue
is Columns.TableRowValue
.init(selection: Binding<Set<Value.ID>>, columns: () -> Columns, rows: () -> Rows)
Creates a table with the given columns and rows that supports selecting multiple rows.
Available when
Value
is Rows.TableRowValue
, Rows
conforms to TableRowContent
, Columns
conforms to TableColumnContent
, and Rows.TableRowValue
is Columns.TableRowValue
.