insertColumn Method

Summary

Inserts a new column into the TableBlock object relative to a specified Cell.

Syntax

TypeScript
    insertColumn(cell: Cell, location: ColumnLocation, createCellCallback: (cell: Cell) => void, options?: EngineOptions): void; 

Parameters

cell

The Cell to use as a reference when inserting the column.

location

The ColumnLocation where the column should be inserted relative to the Cell.

createCellCallback

The Callback function to execute for each cell in the inserted column for consistency among the new and old cells.

options

The EngineOptions object to use when executing this command.

Remarks

This would be used to add in a new column to a table while also being able to keep table formatting to the new cells added.

Requirements

Target Platforms

See Also

TableBlock Object

TableBlock Members

Leadtools.Document.Editor Namespace

Help Version 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Editor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.