Customizing Tables

Sheet views—such as the Task Sheet, Resource Sheet, and Gantt Chart—display a table of data. If the information you want doesn’t appear in the current table, you can switch tables or modify the table contents. You can customize the contents of a table directly in the view or through the Table Definition dialog box.

Note

For information on switching the table applied to a sheet view, as well as working with tables in general, see the section titled Using Tables in Chapter 4.

Modifying the Columns in a Table

You can add, move, remove, or modify columns in any table. To modify the definition of an existing table, follow these steps:

  1. Right-click the Select All cell in the upper-left corner of the sheet above row and then click More Tables on the shortcut menu.

    The More Tables dialog box appears with the current table selected.

  2. Click the Edit button.

    Note

    To use the current table as a template for a new table, click Copy instead of Edit. To use a different table as a template, in the More tables dialog box, click that table’s name and then click Copy.

  3. The Table Definition dialog box, shown in Figure 25-13, appears. If necessary, type a descriptive name in the Name box.

    Use the Table Definition dialog box to customize the columns for a table.

    Figure 25-13. Use the Table Definition dialog box to customize the columns for a table.

    If you want this table to appear on the Table menu, select the Show In Menu check box.

To move a column in the table, move fields in the rows in the Table Definition grid by doing the following:

  1. Click the field name you want to move and then click Cut Row.

  2. Click the row above where you want to insert the field.

  3. Click Paste Row to insert the field at the new location.

You can add columns to the end of the table definition grid or insert them where you want. To insert a column into the table, follow these steps:

  1. In the Table Definition dialog box, click the row in the grid above where you want to insert the field.

  2. Click Insert Row to insert a blank row in the list.

  3. Click the Field Name cell and then click the field name you want in the list.

    Caution!

    Pressing Enter is the same as clicking OK—either action closes the Table Definition dialog box. To complete the row with default entries, press Tab or click another cell in the list.

  4. Specify the alignment of the data and the column heading as well as the width of the column.

    If you want the column heading text to wrap, click Yes in the Header Wrapping cell.

  5. To display text in the column header—other than the field name—in the Title cell, type the text you want to appear.

To remove a column from a table, follow these steps:

  1. In the Table Definition dialog box, click the field name for the column you want to remove.

  2. Click Delete Row.

Modifying Other Table Options

You can customize other properties of a table by using the Table Definition dialog box. For example, you can specify the format of dates or set a row height for all rows.

To set other table options, do the following:

  1. In the Table Definition dialog box, in the Date Format box, click the format you want for any date fields.

    If you don’t specify a format, the table uses the default date format for the entire project.

  2. To change the height of the rows in the table, click a number in the Row Height box.

    This number represents a multiple of the standard row height.

  3. To adjust the height of the header row to make room for the full column title, select the Auto-Adjust Header Row Heights check box.

Creating a New Table

If none of the existing tables even come close to meeting your needs, you can create a completely new table. To do this, follow these steps:

  1. Click View, Table and then click More Tables.

  2. In the More Tables dialog box, select the Task or Resource option to create a task or resource table, respectively.

  3. Click New.

    The Table Definition dialog box appears with a default name in the Name box.

  4. Enter a new descriptive name in the Name box.

  5. If you want this table to appear in the View menu and View bar, select the Show In Menu check box.

  6. Continue by adding the fields you want to appear in the table.

Note

For information about how to add fields to a table, see the section titled Modifying the Columns in a Table earlier in this chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.198.81