Home >Online Product Documentation >Table of Contents >Working with Columns
Stylus Studio provides several features to help you work with table columns in the Grid tab. Changes you make to tables in the Grid tab, such as adding a new column or reordering existing columns, are reflected in the underlying XML document.
This section covers the following topics:
Column operations can be performed when you select any cell in a column. When a cell (and, therefore, its column) is selected, it is highlighted with a yellow outline. As shown in Figure 120, the <title> column is selected - the cell containing Java Message Service is the one that is highlighted.
You can add two types of columns to tables in the Grid tab - attribute columns and element columns. The procedure for adding both types of columns is the same. When you add a column, it is inserted immediately after the last column of its type. You can move columns after you create them.
The column is added to the table.
A yellow border appears around the cell you select.
The column is deleted from the table.
You can reorder columns in the grid by dragging them to the position you desire.
The cursor changes shape, as shown here.
The column is placed in the new location within the row.
You can rename columns in the grid. This has the effect of renaming the corresponding attribute or element name in the underlying XML document.
A yellow border appears around the cell you select.
The column is renamed.
You can change element and attribute values.
The cell field becomes editable, as shown here.