Data Grid properties
- Last UpdatedOct 09, 2024
- 1 minute read
The following table lists the properties of the Data Grid widget. All properties are exposed as dynamic runtime properties in which they can be bound to a reference to a ViewApp namespace as an:
-
Attribute
-
Object attribute
-
MyContent attribute
-
Compound expression
Data Grid Widget Properties
Descriptions
Type
Gets or sets the format of source data strings.
-
csv
-
json
Datasource
Gets or sets the string of JSON or CSV data shown by the Data Grid widget.
ColumnDelimiter
Gets or sets the delimiter used to separate field values in the selected grid row.
-
Comma for csv strings
-
Vertical pipe (|) for json strings
SelectedRow
Gets or sets the string of the selected row field values.
DateFieldFormat
Gets or sets the date format of a date. Supports all date format strings.
BackgroundColor
Background color of the widget.
ForeColor
Text color of the widget.
HeaderBackColor
Background color of the tabular header in which column names appear.
HeaderForeColor
Text color of the header column names.
SelectionBackColor
Background color of a selected row within the grid.
SelectionForeColor
Text color of the selected row within the grid.
RowHoverBackColor
Background color of the row within the grid over which the mouse is hovering.
RowHoverForeColor
Text color of the row within the grid over which the mouse is hovering.
Font Family
Name of the font family used by the Data Grid widget to show text.t
FontSize
Font size in pixels of text shown in the Data Grid widget.
Pagesize
Number of grid rows shown the widget display.
-