Instance Method

removeRows(at:includeSubrows:)

Removes the rows at given indexes.

Declaration

func removeRows(at rowIndexes: IndexSet, includeSubrows: Bool)

Parameters

rowIndexes

Indexes of one or more rows in the receiver.

includeSubrows

If true, then sub-rows of deleted rows are also deleted; if false, then each sub-row is adopted by its first non-deleted ancestor, or becomes a root row.

See Also

Manipulating Rows

func addRow(Any?)

Adds a row to the receiver.

func removeRow(at: Int)

Removes the row at a given index.