NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{scrollbar:icons=false}
h1. Tabluar Form Created with Scaffolding Macros 
Scrollbar
iconsfalse

...

Table-data and Text-data

...



This page shows the following:

...


{toc

...

:minLevel

...

More information

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

Code Block
=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} |

...

Date

...

Type

...

Note

...

Assignee

...

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

Code Block

{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}
{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

...

Date

Type

Note

Assignee

DateValue

TypeValue

NoteValue

AssigneeValue

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 Block
: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

...

Heading 1

Heading 2

Data 1

Data 2

...

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

{scrollbar:icons=false}