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.
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.
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.
The Text and Font properties for headers are similar to those for text components.
These properties control the style of the vertical lines between column headings and the horizontal lines between column headings and category headings.
The Fill and Stroke properties for headers are similar to those for most components.
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.
The Text and Font properties for data grid rows rows are similar to those for text components.
These properties control the lines that divide the columns and rows.
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. |
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.
These properties specify which columns this editor controls, as well as sorting and visibility for those columns.
These properties control symbols that appear in this data grid.
These properties control column width.