Creating Tables
What You Will Learn
- How to insert organized and styled tables onto your page
Quick Steps
- Have your cursor in Text and Tables field of Content component; click on "Table" button in Format tab
- Insert the amount of rows and columns for your table; select "Style" for your table in "Table" tab
- In "Cell" tab, highlight cells and select desired formatting
Inserting tables into Content Components is another way to organize text in an easy-to-read format.
Instructions
Table Styling
Please see the "Example" tabs on this page to see how different table, row, and cell styles appear on YSM sites.- Begin by choosing or creating the Content component that you want to insert a table into.
- Make sure your cursor is in the "Text and "Tables" field of this component.
- In the "Format" tab, click on the "Table" button.
- A window will open where you are prompted to enter the number of columns and rows for your table. Click "OK."
- Note: You can always adjust the number of rows or columns you need later.
- A table editing will appear. In this window, you can apply styles and formatting to the rows, columns, or individual cells of the table. Choose a style for your table, which will become the style theme for your table. For instance, choosing "ruled-green: will draw a grid outlining each cell and allow you to use green shading on individual cells of the table.
- Note: Tridion will automatically determine the width and height of the table, so in most cases you should leave the default values already populated.
- To enter text into cells, click on the "Cell" tab. Select the cell you want to edit, type your desired text in the "Text" field, and click on "enter."
- Note: Column widths will expand to accommodate the amount of text you've entered into cells. If the width cannot be expanded any further, the text will be wrapped.
- To apply formatting to cells, remain in the "Cell" tab. Select cells you want to apply formatting to, and then choose the desired formatting from the "Style" drop-down menu. You can also adjust the positioning of the text in this row using the horizontal and vertical alignment drop-down. Some formatting will not be visible until after the page has been published live or to preview.
- To change formatting to more than one cell at a time, hit CTRL on your keyboard as you select each individual cell. It will keep these cells highlighted all at once.
- If additional rows or columns are needed, use the buttons at the top of the table editor. For example, to add an additional row, select a cell adjacent to where the new row will be placed, and click "Insert Row Above" or "Insert Row Below." To delete a row, select a cell in the row you want to delete and click "Remove Row."
- Once you've finished formatting, click "OK" to return to the Content Component.
- If you still have text edits to make, you can make them within the "Text and tables" field of the Content Component by clicking within the cells you've already created. If you want to edit the formatting again, open the table in the table editor. Highlight the whole table and click on the "Table" button.
| A | Header | Header
| Header
|
|---|---|---|---|
| B | Data | Data
| Data
|
| C | Data | Data | Data |
| D | Data
| Data
| Data
|
Instructions for Components on this Page
TablesTable Selections
Table Tab
- Style: Ruled-dashed
Row Tab
- Row A
- Body/Header/Footer: Header
- Style: Borderless
- Rows B, C, D
- Body/Header/Footer: Body
- Horizontal Alignment: Center
- Vertical Alignment: N/A
- Style: Dashed
Cell Tab
- Cells in Row A
- Type of information: Header
- Horizontal Alignment: Center
- Verticle Alignment: N/A
- Style: Highlighted
- Cells in Rows B & D
- Type of information: Data
- Horizontal Alignment: Center
- Vertical Alignment: Middle
- Cells in Row C
- Type of information: Data
- Horizontal Alignment: Center
- Vertical Alignment: Middle
- Style: Shaded
| A | Header
| Header | Header
|
|---|---|---|---|
| B | Data
| Data
| Data
|
| C | Data | Data
| Data
|
| D | Data
| Data
| Data
|
Instructions for Components on this Page
TablesTable Selections
Table Tab
- Style: Ruled-Green
Row Tab
- Row A
- Body/Header/Footer: Header
- Horizontal Alignment: Left
- Vertical Alignment: Top
- Style: Shaded
- Rows B & D
- Body/Header/Footer: Body
- Horizontal Alignment: Left
- Vertical Alignment: Top
- Style: N/A
- Row C
- Body/Header/Footer: Body
- Horizontal Alignment: Left
- Vertical Alignment: Top
- Style: shaded
Cell Tab
- Cells within Row A
- Type of Info: Header
- Horizontal Alignment: Left
- Vertical Alignment: Middle
- Style: Heading-full
- Cells within Rows B & D
- Type of Info: Data
- All other fields: N/A
- Cells within Row C
- Type of Info: Data
- Style: Shaded-colored
| A | Data | Data | Data |
| B | Data | Data | Data |
| C | Data | Data | Data |
| D | Data | Data | Data |
Instructions for Components on this Page
TablesTable Selections
Table Tab
- Style: Plain
Row Tab
- Rows A & C
- Header/Body/Footer: Body
- Horizontal Alignment: Left
- Vertical Alignment: Middle
- Style: Shaded
- Rows B & D
- Header/Body/Footer: Body
- Horizontal Alignment: Left
- Vertical Alignment: Middle
- Style: No Style
Cell Tab
- All Cells within Table
- Horizontal Alignment: Left
- Vertical Alignment: Top
- Style: Borderless
| A | Data | Data | Data |
| B | Data | Data | Data |
| C | Data | Data | Data |
| D | Data | Data | Data |
Table Selections
Table Tab
- Style: Ruled
Row Tab
- Rows A, B, C, D
- Header/Body/Footer: Body
- Horizontal Alignment: Center
- Vertical Alignment: Top
- Style: N/A
Cell Tab
- Cells in Rows A & C
- Type: Data
- Horizontal: Right
- Vertical: Bottom
- Style: Borderless
- Cells in Rows B & D
- Type: Data
- Horizontal: Right
- Vertical: Bottom
- Style: Nowwrap

