Oxygen XML Editor provides a Grid view of an XML
document. To configure the Grid options, open the
Preferences dialog box and go to .
The following options are available:
- Compact representation - If selected, the compact
representation of the grid is used: a child element is displayed beside the parent
element. In the non-compact representation, a child element is nested below the
parent.
- Format and indent when passing from grid to text or on save - If
selected, the content of the document is formatted
and indented each time you switch from the Grid view to the
Text view.
- Default column width (characters) - Sets the default width in
characters of a table column of the grid. A column can hold:
- Element names
- Element text content
- Attribute names
- Attribute values
If the total width of the grid structure is too large you can resize any column by
dragging the column margins with the mouse pointer, but the change is not persistent. To
make it persistent, set the new column width with this option.
- Active cell color - Sets the background color for the active cell
of the grid. There is only one active cell at a time. The keyboard input always goes to the
active cell and the selection always contains it.
- Selection color - Background color for the selected cells of the
grid except the active cell.
- Border color - The color used for the lines that separate the grid
cells.
- Background color - The background color of grid cells that are not
selected.
- Foreground color - The text color of the information displayed in
the grid cells.
- Row header colors - Background color - The background color of row
headers that are not selected.
- Row header colors - Active cell color - The background color of the
row header cell that is currently active.
- Row header colors - Selection color - The background color of the
header cells corresponding to the currently selected rows.
- Column header colors - Background color - The background color of
column headers that are not selected.
- Column header colors - Active cell color - The background color of
the column header cell that is currently active.
- Column header colors - Selection color - The background color of
the header cells corresponding to the currently selected columns.
The column headers are painted with two color gradients, one for the upper 1/3 part of the
header and the other for the lower 2/3 part. The start and end colors of the first gradient
are set with the first two color buttons. The start and end colors of the second gradient are
set with the last two color buttons.