Select table cells, rows, and columns

When you select part or
all of the text in a cell, that selection has the same appearance
as would text selected outside a table. However, if the selection spans
more than one cell, the cells and their contents are both selected.

If
a table spans more than one frame, holding the mouse pointer over
any header or footer row that is not the first header or footer
row causes a lock icon to appear, indicating that you cannot select
text or cells in that row. To select cells in a header or footer
row, go to the beginning of the table.

Select cells

Using the Type tool , do
any of the following:

To select a single cell, click inside a
cell, or select text, and then choose Table > Select >
Cell.

To select multiple cells, drag across a cell border.
Be careful not to drag the column or row line so that you don’t
resize the table.

Note:

To switch between selecting all of the
text in a cell and selecting the cell, press Esc.

Select the entire table

Move the pointer over the upper left corner of the table so that the pointer becomes an arrow shape , and then click to select the entire table.

Before and after selecting table

Drag the Type tool across the entire table.

Note:

You can also select a table in the same
way you select an anchored graphic—place the insertion point immediately
before or after a table, and then hold down Shift while pressing
the Right Arrow key or Left Arrow key, respectively, to select the table.

Insert rows and columns

You
can insert rows and columns using a number of different methods.

Insert a row

Place the insertion point in a row below
or above where you want the new row to appear.

Choose Table > Insert > Row.

Specify the number of rows you want.

Specify whether the new row or rows should appear before
or after the current row, and then click OK.

The new cells have the same formatting as the text in
the row in which the insertion point was placed.

Note:

You
can also create a new row by pressing Tab when the insertion point
is in the last cell.

Insert a column

Place the insertion point in a column
next to where you want the new column to appear.

Choose Table > Insert > Column.

Specify the number of columns you want.

Specify whether the new column or columns should appear
before or after the current column, and then click OK.

The new cells have the same formatting as the text in
the column in which the insertion point was placed.

Insert multiple rows and columns

With the insertion point in a cell,
choose Table > Table Options > Table Setup.

Specify a different number of rows and columns, and then
click OK.

New rows are added to the bottom of the table; new columns
are added to the right side of the table.

Note:

You
can also change the number of rows and columns using the Table panel.
To display the Table panel, choose Window > Type &
Tables > Table.

Insert a row or column by dragging

When adding columns, if you drag more than
one and one‑half times the width of the column being dragged, new
columns are added that have the same width as the original column.
If you drag to insert only one column, that column can have a narrower
or wider width than the column from where you dragged. The same
behavior is true of rows, unless the Row Height for the row being
dragged is set to At Least. In this case, if you drag to create
only one row, InDesign will resize the new row, if necessary, so
that it’s tall enough to contain text.

Position the Type tool over
the border of a column or row so that a double-arrow icon ( or ) appears.

Hold down the mouse button, and then hold down Alt (Windows)
or Option (Mac OS) while dragging down to create a new
row, or to the right to create a new column. (If you press Alt or
Option before holding down the mouse button, the Hand tool appears—so
make sure you begin dragging before you press Alt or Option.)

Note:

Dragging
to insert rows or columns doesn’t work at the top or left edges
of a table. These fields are used to select rows or columns.

Delete rows, columns, or tables

To delete a row, column, or table, place the insertion point inside the table, or select text in the table, and then choose Table > Delete > Row, Column, or Table.

To delete rows and columns by using the Table Options dialog box, choose Table > Table Options > Table Setup. Specify a different number of rows and columns, and then click OK. Rows are deleted from the bottom of the table; columns are deleted from the right side of the table.

To delete a row or column by using the mouse, position the pointer over the border of the bottom or right side of the table so that a double-arrow icon ( or ) appears; hold down the mouse button; and then hold down Alt (Windows) or Option (Mac OS) while dragging either up to delete rows, or to the left to delete columns.

Note:

If you press Alt or Option before holding down the mouse button, the Hand tool will appear—so press Alt or Option after you begin dragging.

To delete cell contents without deleting cells, select the cells containing the text you want to delete, or use the Type tool to select the text within the cells. Press Backspace or Delete, or choose Edit >Clear.

Change the alignment of a table
within a frame

A table assumes the width of the paragraph
or table cell in which it is created. However, you can change the
size of the text frame or table so that the table is wider or narrower
than the frame. In such a case, you can decide where you want the
table to be aligned within the frame.

Place the insertion point to the right or left
of the table. Make sure that the text insertion point is placed
on the table paragraph and not inside the table. The insertion point
becomes as tall as the table in the frame.

Click an alignment button (such as Align Center) in the
Paragraph panel or Control panel.

Navigate within a table

Use
the Tab or arrow keys to move within a table. You can also jump
to a specific row, especially useful in long tables.

Move within a table using Tab

Press Tab to move to the next cell. If you press Tab in the last table cell, a new row is created. For information on inserting tabs and indents in a table, see Format text within a table.

Press Shift+Tab to move to the previous cell. If you press Shift+Tab in the first table cell, the insertion point moves to the last table cell.

Move within a table using arrow
keys

Press the arrow keys to navigate within and between table cells. If you press the Right Arrow key when the insertion point is at the end of the last cell in a row, the insertion point moves to the beginning of the first cell in the same row. Similarly, if you press the Down Arrow key when the insertion point is at the end of the last cell in a column, the insertion point moves to the beginning of the first cell in the same column.

Jump to a specific row in a table

Choose Table > Go To Row.

Do any of the following:

Specify the row number you want to jump
to, and then click OK.

If a header or footer row is defined in the current
table, choose Header or Footer from the menu, and then click OK.

Cut, copy, and paste table contents

When text is selected within a cell,
cutting, copying, and pasting actions are the same as for text selected
outside a table. You can also cut, copy, and paste cells and their
contents. If the insertion point is in a table when you paste, multiple pasted
cells appear as a table within a table. You can also move or copy
the entire table.

Select the cells you want to cut or copy, and
then choose Edit > Cut or Copy.

Do any of the following:

To embed a table within a table, place
the insertion point in the cell where you want the table to appear,
and then choose Edit > Paste.

To replace existing cells, select one or more cells
in the table—making sure that there are sufficient cells below and
to the right of the selected cell—and then choose Edit >
Paste.

Move or copy a table

To
select the entire table, place the insertion point in the table
and choose Table > Select > Table.

Choose Edit > Cut or Copy, move the insertion
point where you want the table to appear, and then choose Edit >
Paste.

Convert tables to text

Using the Type tool , place
the insertion point inside the table, or select text in the table.

Choose Table > Convert Table To Text.

For both Column Separator and Row Separator, specify
the separators you want to use.

For best results, use a different separator for columns
and rows, such as tabs for columns and paragraphs for rows.

Click OK.

When you convert a table to text, the table lines are
removed and the separator you specify is inserted at the end of
each row and column.

Combine tables

Use
the Paste command to merge two or more tables into a single table.

In the target table, insert at least as many blank
rows as you’ll be pasting from the other tables. (If you insert
fewer rows than are copied, you cannot paste.)

In the source table, select the cells you want to copy.
(If you copy more column cells than are available in the target
table, you cannot paste.)

Select at least one cell where you want the incoming
rows to be inserted, and then choose Edit > Paste.

Note:

If the pasted rows use different formatting
than the rest of the table, define one or more cell styles, and
then apply the cell styles to the pasted cells. Hold down Alt (Windows)
or Option (Mac OS) while clicking the cell style to override
existing formatting.