Data Grid Properties
The following properties affect the data grid component. For data grids, you can customize properties for the header, rows, and columns.
For a guide to using the data grid component, see Data Grid.
Data grid components are also affected by Common Properties.
General Data Grid properties
These properties affect the entire data grid. To see these properties in the Property Inspector, click on your data grid on the Stage or in the Outline.
Data Grid Header Properties
These properties affect the data grid header. There are four groups of Data Grid Header properties. To see these properties in the Property Inspector, click on Header in the Outline.
Header Text and Font
The Text and Font properties for headers are similar to those for text components.
Header Gridlines
These properties control the style of the vertical lines between column headings and the horizontal lines between column headings and category headings.
Header Fill and Stroke
The Fill and Stroke properties for headers are similar to those for most components.
Header Position and Size
Data Grid Row Properties
These properties affect data grid rows. There are four groups of Data Grid Rows properties. To open these properties in the Property Inspector, click on Rows in the Outline.
Row Text and Font
The Text and Font properties for data grid rows rows are similar to those for text components.
Row Gridlines
These properties control the lines that divide the columns and rows.
Row Fill and Stroke
The Fill and Stroke properties for rows are similar to those for most components. You can define fill and stroke for the types of rows listed in the table. In each case, the properties define the fill for the row, and the stroke that outlines the row.
Property | Description |
---|---|
Main Rows | The first group of alternating rows. |
Alternate Rows | The second group of alternating rows. |
Hovered Row | The row that the user mouses over. |
Focused Row | The row that is in focus. |
Selected Rows | The selected rows. Only works if selection is enabled for this data grid. |
Row Position and Size
Column Properties
These properties affect data grid columns. There are three groups of column properties. To open these properties in the Property Inspector, expand Column in the Outline, and select a column editor.
A column editor lets you edit the properties of a group of one or more data grid columns. To add a column editor, go to the General Data Grid Properties and click Add Column.
Column Editor Properties
These properties specify which columns this editor controls, as well as sorting and visibility for those columns.
Column Symbol Properties
These properties control symbols that appear in this data grid.
Column Position and Size Properties
These properties control column width.