NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

Please be advised that NCI Wiki will be will be undergoing maintenance on Monday, June 24th between 1000 ET and 1100 ET.
Wiki will remain available, but users may experience screen refreshes or HTTP 502 errors during the maintenance period. If you encounter these errors, wait 1-2 minutes, then refresh your page.

If you have any questions or concerns, please contact the CBIIT Atlassian Management Team.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Scrollbar
iconsfalse

Page info
title
title

This page shows the following

Table of Contents
minLevel5

More information on the table data macro

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

Fixed row table with Text Data form boxes inserted into each non-header cell

The general form is

Code Block
Wiki Markup
{scrollbar:icons=false}
h1. Tabluar Form Created with Scaffolding Macros Table-data and Text-data

This page shows the following:
{toc:minLevel=5}

[More information|http://www.customware.net/repository/display/AtlassianPlugins/table-data]

h2. Fixed row table with Scaffolding Text-data form boxes inserted into each non-header row

{code}
|| Date || Type || Note || Assignee ||
| {text-data:DateValue}{text-data} | {text-data:TypeValue}{text-data} | {text-data:NoteValue}{text-data} | {text-data:AssigneeValue}{text-data} |
{code}

|| Date || Type || Note || Assignee ||
| {text-data:DateValue}{text-data} | {text-data:TypeValue}{text-data} | {text-data:NoteValue}{text-data} | {text-data:AssigneeValue}{text-data} |


h2. Adjustable row table created with Scaffolding Table-data macro, with Scaffolding Text-data form boxes inserted into the first non-header row

{code}

An example follows. Each cell outside the header contains a text data macro. In the Edit Contents view, complete the text boxes. The last data entered is shown.

Date

Type

Note

Assignee

Text Data
nameDateValue
contentwiki

Text Data
nameTypeValue
contentwiki

Text Data
nameNoteValue
contentwiki

Text Data
nameAssigneeValue
contentwiki

Adjustable row table created with the Table Data macro, with Text Data form boxes inserted into the first non-header row

The general form is

Code Block
{table-data:ExampleTable}
|| Date || Type || Note || Assignee ||
| {text-data:DateValue}{text-data} | {text-data:TypeValue}{text-data} | {text-data:NoteValue}{text-data} | {text-data:AssigneeValue}{text-data} |
{table-data}
{code}

{table-data:ExampleTable}
|| Date || Type || Note || Assignee ||
| {text-data:DateValue}{text-data} | {text-data:TypeValue}{text-data} | {text-data:NoteValue}{text-data} | {text-data:AssigneeValue}{text-data} |
{table-data}

h2. Scaffolding Table-data macro

The table-data macro allows for dynamic addition and deletion of rows in a table in Edit view.

The general form is:
{code}
{table-data:Name}
|| Heading 1 || Heading 2 ||
| {xxx-data:Data 1}{xxx-data} | {xxx-data:Data 2}{xxx-data} |
{table-data}
{code}

The general form with the text-data macro follows.

{code}
{table-data:Name}
|| Heading 1 || Heading 2 ||
| {text-data:Data 1}{text-data} | {text-data:Data 2}{text-data} |
{table-data}
{code}

{table-data:Name}
|| Heading 1 || Heading 2 ||
| {text-data:Data 1}{text-data} | {text-data:Data 2}{text-data} |
{table-data}

{scrollbar:icons=false}

An example follows. The table data macro establishes a table. Text data macros in each cell establish input text boxes for the type of data indicated in the general form. In the Edit Contents view, complete the text boxes. The last data entered is shown. In the Edit Contents view click the plus sign to add a row.

Table Data
nameExampleTable
orderasc

Date

Type

Note

Assignee

DateValuewikiINLINE
TypeValuewikiINLINE
NoteValuewikiINLINE
AssigneeValuewikiINLINE

Scrollbar
iconsfalse