dglux5_wiki:widgets_and_property_inspector:property_inspector:datagrid:home

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.


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.

Table

Table

Table
Defines the table that the data grid uses as a data source.

The Table property
The Table property

Column Filter

Column Filter

Column Filter
Specifies the columns for a filter, as a comma-separated list of table column names. Use the Filter Type property to specify whether these columns are shown in this data grid or hidden from it. The order of columns in a whitelist filter overrides the column order in the Outline and the source table.

The Column Filter property
The Column Filter property

Filter Type

Filter Type

Filter Type
Specifies how this filter handles the listed columns. The default is Blacklist.

Whitelist
Only the listed columns are shown in this data grid. Columns appear in the order specified in the filter.

Blacklist
The listed columns are hidden from this data grid.

The Filter Type property
The Filter Type property

Sort Order

Sort Order

Sort Order
Specifies whether the data is sorted in ascending or descending order. The options are Ascending (default) and Descending.

To change whether the data is treated as strings or numbers when sorted, open the dataflow for this data grid and edit the Sort block.

The Sort Order property
The Sort Order property

Sort Column

Sort Column

Sort Column
Specifies the name of the column by which to sort the data. Only works if the column has the Sortable property enabled.

The Sort Column property
The Sort Column property

Add Column

Add Column

Add Column
Click this button to add a column editor to the Outline. Each column editor lets you edit the properties of a group of one or more data grid columns.

The Add Column property
The Add Column property


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: font, font color, size, style, weight, horizontal alignment (default center), vertical alignment (default middle), and left, right, top and bottom padding, with an option to keep all four paddings equal.

These properties control the style of the vertical lines between column headings and the horizontal lines between column headings and category headings. In the Property Inspector they appear as Horiz Line and Vert Line, each with a color, a Stroke style and a weight. The stroke style options are None (default), Dotted, Dashed, Solid, Double, Groove, Ridge, Inset and Outset. The default weight is 0.

Header Horizontal Stroke Color

Header Horizontal Stroke Color

Header Horizontal Stroke Color
Defines the stroke color for the horizontal lines that divide the column headings and category headings.

The Header Horizontal Stroke Color property
The Header Horizontal Stroke Color property

Header Horizontal Stroke Style

Header Horizontal Stroke Style

Header Horizontal Stroke Style
Defines the stroke style for the horizontal lines that divide the column headings and category headings.

The Header Horizontal Stroke Style property
The Header Horizontal Stroke Style property

Header Horizontal Stroke Weight

Header Horizontal Stroke Weight

Header Horizontal Stroke Weight
Defines the stroke weight for the horizontal lines that divide the column headings and category headings.

The Header Horizontal Stroke Weight property
The Header Horizontal Stroke Weight property

Header Vertical Stroke Color

Header Vertical Stroke Color

Header Vertical Stroke Color
Defines the stroke color for the vertical lines that divide the column headings.

The Header Vertical Stroke Color property
The Header Vertical Stroke Color property

Header Vertical Stroke Style

Header Vertical Stroke Style

Header Vertical Stroke Style
Defines the stroke style for the vertical lines that divide the column headings.

The Header Vertical Stroke Style property
The Header Vertical Stroke Style property

Header Vertical Stroke Weight

Header Vertical Stroke Weight

Header Vertical Stroke Weight
Defines the stroke weight for the vertical lines that divide the column headings.

The Header Vertical Stroke Weight property
The Header Vertical Stroke Weight property

The Fill and Stroke properties for headers are similar to those for most components.

This property controls the height of the header.

Header Height

Header Height

Header Height
Defines the height of the header in pixels. A value of Auto makes the header height follow the size of its content.

The Header Height property
The Header Height property


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 are similar to those for text components: font, font color, size, style, weight, horizontal alignment (default center), vertical alignment (default middle), and cell padding, with an option to keep all four paddings equal.

Clip Content

Clip Content

Clip Content\ Specifies whether cell content that does not fit in the cell is clipped. Enabled by default.

These properties control the lines that divide the columns and rows.

Gridlines

Gridlines

Gridlines
Specifies which gridlines are used: None (default), Horizontal, Vertical, or Both. The Property Inspector displays the editing options for the selected gridlines. Changing this property does not reset any gridline properties.

The Gridlines property
The Gridlines property

Horizontal Line

Horizontal Line

Horizontal Line
These properties define the horizontal lines between rows. They are similar to the Stroke properties for most components

The Horizontal Line properties
The Horizontal Line properties

Vertical Line

Vertical Line

Vertical Line
These properties define the vertical lines between columns.They are similar to the Stroke properties for most components.

The Vertical Line properties
The Vertical Line properties

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, the stroke that outlines the row, and the font color of the row text.

Property Description
MainThe first group of alternating rows.
AltThe second group of alternating rows.
HovThe row that the user mouses over.
FocThe row that is in focus.
SelThe selected rows. Only works if selection is enabled for this data grid.

This property controls the row height:

Row Height

Row Height

Row Height
Defines the height in pixels of each data grid row. The default is 24.

The Row Height property
The Row Height property


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.

Label

Label

Label
Defines the label to be used as heading text for columns controlled by this column editor.

The Column Label properties
The Column Label property

Type

Type

Type
Defines the kind of column group this column editor controls. See About Column Editors and Column Order

all

An All column editor dictates that all of the columns from the source table are included in the grid, except for those that you filter out of the entire grid. Grid columns appear in source table order, unless you specify another order using a whitelist filter. Properties edited for this column editor apply to all columns.

name

Each Name column editor dictates that one column from the source table is included in the grid. Grid columns appear in the order in which they appear in the Outline, unless you specify another order using a whitelist filter. Properties edited for this column editor apply to this column.

repeater
A Repeater column editor lets you use a configuration table to determine which source table columns appear in the grid, which symbols represent those columns (if any), and properties of the symbols.

The default type for a new column editor added with Add Column is All.

The Column Editor Type properties
The Column Editor Type property

Selector

Selector

Column Editor Selector
Specifies which column or columns this column editor controls. If the column editor type is All, this property does nothing. If the column editor type is Name, this property specifies the name of one column in the source table. If the column editor type is Repeater, this property specifies which column of the configuration table contains the data table column names.

The Selector property
The Selector property

Configuration Table

Configuration Table

Configuration Table\ Only shown when the column editor type is Repeater. Defines the configuration table. Each row of the configuration table defines one grid column; the column named by the Selector property contains the data table column names.

Category

Category

Category
Specifies the category to which this column belongs. Must match the Selector property of some other column editor in this grid. For more information, see Using the Category Feature.

Sortable

Sortable

Sortable
Specifies whether the columns affected by this column editor are sortable. When a user clicks the header of a sortable column, the data is sorted by that column.

The comparison method used (Number, String or Mixed; default String) is set by the column's sortMethod property, available in the Advanced Property Inspector.

The Sortable property
The Sortable property

Visible

Visible

Visible
Defines whether this element is visible. Regardless of value, the element affects layout and is stored in the user's browser memory. Because the element is stored in memory, performance might be affected.

TRUE
This element is visible.

FALSE
This element is not visible, but it still affects layout and is stored in browser memory.

The Visible property
The Visible property

Sorting Indicator

Sorting Indicator

Sorting Indicator
Specifies whether a graphic appears in the column that currently sorts the data. The Sorting Indicator property for a Name column editor overrides the Sorting Indicator property for an All column editor.

The Sorting Indicator property
The Sorting Indicator property

Sort Asc

Sort Asc

Sort Asc
Sorts the data using this column, in ascending order. Using this trigger changes the Sort Order to Ascending, under Data Grid properties.

The Sort Ascending property
The Sort Ascending property

Sort Desc

Sort Desc

Sort Desc
Sorts the data using this column, in descending order. Using this trigger changes the Sort Order to Descending, under Data Grid properties.

The Sort Descending property
The Sort Descending property

Delete

Delete

Delete
Deletes this column editor.

The Delete property
The Delete property

These properties control symbols that appear in this data grid.

Symbol

Symbol

Symbol
Specifies the name of the symbol that appears in each cell of the columns affected by this column editor.

The Symbol property
The Symbol property

Header Symbol

Header Symbol

Header Symbol
Specifies the name of the symbol that appears in the header of the columns affected by this column editor.

The Header Symbol property
The Header Symbol property

These properties control column width.

Autosize Mode

Autosize Mode

Autosize Mode\ Specifies whether the column width is adjusted automatically to fit the cell content. Only applies to Name column editors.

None\ The column width is not adjusted automatically. This is the default.

On Scroll\ When the grid is rendered or scrolled, the column width is set to the width of the widest visible cell.

On Scroll, No Reduce\ Like On Scroll, but the column width can only grow, never shrink.

Column Width

Column Width

Column Width
See Common Properties.

The Column Width property
The Column Width property

Column Flex-Grow

Column Flex-Grow

Column Flex-Grow
See Position and Size Properties.

The Column Flex-Grow property
The Column Flex-Grow property

Column Flex-Shrink

Column Flex-Shrink

Column Flex-Shrink
See Position and Size Properties.

The Column Flex-Shrink property
The Column Flex-Shrink property

  • dglux5_wiki/widgets_and_property_inspector/property_inspector/datagrid/home.txt
  • Last modified: 2026/10/22 17:28
  • by 127.0.0.1