insertClone

insertClone(int index, Column templ, boolean withAttachedColumns) function

Creates a copy of the specified template column and insert it at the specified position in a table.

Parameters

NameTypeDescription
indexintIndex of a new column.
templColumnColumn which is used as a template.
withAttachedColumnsbooleanTrue to copy also all columns attached to the template column.

Result

Column