| Did you know ... | Search Documentation: |
| table->delete |
|table_row|table_column,
keep=[bool]<-cell, table<-row
or table<-column.
Deleting rows or columns holding spanned cells will deal naturally
with these cells: There location and spanning will be updated such that
they span the same set of rows/columns.
If keep is @on,
the content of the row, column or cell are kept. Otherwise the content
is visual->destroyed.
If a column is deleted, all cells that will be deleted from the table
are attached to the table_column
object. Together with
table->insert_column,
this allows for relocating columns if a table without loosing the
table-properties. Note that the column should be object->lock_object’ed
to avoid destruction by the incremental garbage collector. The following
code moves column 4 to be the first column:
... get(Table, column, 4, Col), send(Col, lock_object, @on), send(Tbale, delete, Col, @on), send(Table, insert_column, 1, Col), send(Col, lock_object, @off), ...
See also table->insert_column, table->insert_row,
table->append, table_cell->row_span
and
table_cell->col_span.