insert_clone method

insert_clone

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

Returns

Inserted rows.

def insert_clone(self, index, templ, with_attached_rows):
    ...
ParameterTypeDescription
indexintIndex of a new row.
templIRowRow which is used as a template.
with_attached_rowsboolTrue to copy also all rows attached to the template row.

See Also