This question about Topic Markup Language and applications: Answered
Tables in DataForms
I would like to place in DataForm
field a combination of text and table.
I defined following field:
| Example1 | textarea | 250x6 | | | |
However, when I enter in Example1 field following table definition:
| *NC key*| *NC value* |
|data | data |
this is not formatted as a table:
When I use standard HTML:
<tr><td>*NC key*</td><td>*NC value*</td></tr>
I receive a strange looking table.
- 06 Nov 2015
I think you're going in the right direction to use HTML table syntax to define your table-within-a-table because Foswiki table syntax does not adapts gracefully to this situation (nor where your cells contain returns). What do you mean comment that you get "a strange looking table"? Do you mean it isn't formatted as a nice Foswiki-styled table? To solve that, create a simple Foswiki table in a topic and then view the rendered html source. Copy the rendered html table that includes the Foswiki table style classes and then paste that into your topic to generate table-within-table and it should come out looking nice.
- 16 Nov 2015
| Subject || Topic Markup Language and applications |
| Extension || |
| Version || Foswiki 2.0.2 |
| Status || Answered |
| Related Topics || |