### Managing columns/rows in a table

Cells in a table are organized into columns and rows. You can resize, insert and delete columns/rows, and specify to show or hide certain column(s) in a table as required.

Note that some operations on table rows and columns are achieved by first selecting a table cell, and you may find that sometimes, a cell is entirely occupied by a field or label, and it is difficult to select the cell, in which cases, you need to first resize the field or label or the cell and then click the blank in the cell so as to select it.

#### Resizing a column/row

You can take either of the following ways to resize columns/rows of a table:

- To resize a column, drag the boundary on the right side of the column to the required width. To resize a row, drag the boundary below the row to the required height.
- Select a table cell, right-click it and then click Row Height or Column Width to access the corresponding dialog. Type a value in the dialog, click OK, and the height/width of the row/column in which the cell is located will then be changed according to your specification.

#### Inserting a column/row

1. Select a cell, right-click it and then click Insert on the shortcut menu.
2. In the Insert dialog, specify the option as required.
3. Click OK. A column/row will then be inserted into the table according to your selection.

#### Showing certain column(s)

1. Right-click the table and select Show Column from the shortcut menu.
2. In the Show Column dialog, all the columns in the table are listed, with text in cells of the table header panel representing corresponding columns. Specify the column(s) you want to show by checking the checkbox(es).
3. Check Auto Sort if you want to list the columns alphabetically.
4. Click OK to accept the changes.

#### Hiding a column

1. Select the cell in the table header panel (TH) that is in the column you want to hide.
2. Right-click the cell and select Hide Column from the shortcut menu.

Notes:

- If the table header panel is invisible or removed, and you still want to hide some column, you can only do this by unchecking the column in the Show Column dialog.
- If the table has more than one header panel, use the header in the first row to access the Hide Column command.

#### Deleting a column/row

1. Select a cell which is in the column/row to be deleted, right-click it, and then select Delete from the shortcut menu.
2. Select Column or Row in the Delete dialog.
3. Click OK. The column or row will then be deleted from the table.

Note: There must be at least one table detail panel (TD) in a table. Therefore, if a row is the only detail panel of a table, it cannot be deleted.