How do I display a table in a field?
The new field features in 5.5 allow you to embed simple tables directly into your text fields and alter their appearance.
The sample stack
Creating the grid
To create the grid set the hGrid and vGrid properties of the lines of the field which make up the table.
set the hGrid of line 2 to -2 of field "Display" to true
set the vGrid of line 2 to -2 of field "Display" to true
The hGrid property causes 1 pixel width grid lines to be placed before and after any line with it set to true. The vGrid property causes 1 pixel width grid lines to be placed between each tab position and forces text to clip to tab width in a cell-like fashion.
Make the table fixed width
Now to make the table 'fixed width' we make sure the tabWidths finishes with a zero-width tab.
This has two effects:
the vertical grid lines will stop at the zero-width tab
the left and right sides of the table determine the location of paragraph borders, filling and alignment.
set the tabWidths of line 2 to -2 of field "Display" to 30,30,30,30,30,30,30,0