AddData
Use this command to add data to the data grid after you have already populated it by setting the dgData or dgText.
Use this command to add data to the data grid after you have already populated it by setting the dgData or dgText.
Add tab delimited text to the data grid after you have already populated it by setting the dgData or dgText.
If true then the user can resize columns in the table header.
Set to true to allow users to edit the cells of a table or the fields in a form.
The color of every other row's background.
Set to true to alternate the background colors of every other row.
Turn animations on or off for the data grid.
Enables the data grid to automatically handle row highlighting.
The background color of the data grid.
Caches all controls for rendering.
Allows you to set all column alignment values at once.
The color of the column dividers in a table.
Line delimited list of labels for columns in your table.
Specifies the margins to be applied to each cell in a column.
Allows you to set the visible property for all columns at once.
Allows you to set all column widths at once. Comma delimited list of integers.
Returns the control for the column of index pIndex in the Data Grid.
Line delimited list of columns in your table.
Returns "data grid"
The color of the corner piece that appears when both horizontal and vertical scrollbars are visible.
An object for forms or tables
These properties allow you to set properties of individual columns in a table when the 'style' property is set to 'table'.
Datagrid commands are issued via 'dispatch' or 'send'.
General properties of the datagrid are applicable whether the 'style' property is set to 'form' or 'table'
Table properties of the datagrid are applicable when the 'style' property is set to 'table'.
The properties and messages associated with the Data Grid template
Used to set the default column behavior.
Used to set the default header behavior.
Deletes the specified indexes from the data grid.
Deletes the specified indexes from the data grid.
Deletes the specified lines from the data grid.
Deletes the specified lines from the data grid.
Get the name of the column the instance of the template is Associations with.
Get/set the alignment for a column.
Toggle whether or not a column is editable by the user.
Get/set whether or not a column is resizable.
Get/set the visibility of the column.
Get/set the label used for the column.
Get/Set the maximum width that a column can be resized to.
Get/Set the minimum width that a column can be resized to.
Set a new name for a column.
Get the column number relative to all visible columns.
Get/set the direction of the sort for the column.
Get/set whether or not column sort is case sensitive.
Get/set the sort type of the column.
Get the control that is used to visually represent the column in the table.
Set the tooltip that appears when the mouse is over the column header.
Get/set the width of a column.
Returns the long id of the data grid.
Get or set the data array that the data grid will display.
This is a custom property defined in the behavior script for your template
Returns the long id of the data control associated with an index.
Returns the long id of the data control associated with a line number.
Get or set the data associated with a particular index.
Take the data grid into or out of edit mode.
Set to true to focus on a data grid.
Returns the formatted height of the data in the data grid.
Returns the formatted width of the columns in a data grid.
Returns the long id of the group that contains the controls for the table header.
Get/set the alignment for a column's header.
Returns the long id of the group that contains the controls for a column header.
Get the control that is used to visually represent the header for a column.
This is a custom property are defined in the behavior script for your template
Returns a comma delimited list of the indexes that are currently selected.
Returns a comma delimited list of the line numbers that are currently selected.
Get/set the horizontal scroll of the data grid.
Get/set the percentage of the horizontal scroll.
The index used to uniquely identify the record being displayed in the copy of the template.
Returns the internal list of indexes in the order in which they appear in the data grid.
Returns the index associated with the given line.
The line (or row) number that is being displayed in the copy of the template.
Returns the line associated with the given index.
Returns the number of lines displayed in the data grid.
For use with fetching data from a database cursor.
Get/set the rect of the control associated with the given index
Get/set the rect of the control associated with the given line
The dgText property always reflects the same value as the dgData but in tab delimited form.
Returns the first and last line being displayed in the data grid as a comma delimited list.
Get/set the vertical scroll of the data grid.
Get/set the percentage of the vertical scroll.
Dims the highlighted lines when the data grid does not have focus.
Color that highlighted lines will be when control is not focused.
Set the action control to display when the data grid is in edit mode.
Set the action select control to display when the data grid is in edit mode.
Set the reorder control to display when the data grid is in edit mode.
Sends the EditValue message to the column control for column pColumnName of line pLineNo.
Same as EditCell but uses an index rather than a line number to locate the line to edit.
Creates an editable field for editing the contents of pField.
Sends the EditValue pKey message to the row control for line pLineNo.
Same as EditKey but uses an index rather than a line number to located the line to edit.
Sent when a user clicks on a data grid edit mode action control.
Sent when the datagrid's edit mode action control is hidden.
Sent when a user clicks on a data grid edit mode action select control.
Hide any visible data grid action control.
Sent when a user completes a dynamic reordering of a data grid.
Sent when a user starts a dynamic reordering of a data grid.
Display the action control for the data grid row with the given index.
The EditValue message is sent to a table column control when EditCell or EditCellOfIndex is called.
Turn drag and swipe actions on or off for the data grid.
The EditValue message is sent to a table column control when EditCell or EditCellOfIndex is called.
Same as EditKey but uses an index rather than a line number to located the line to edit.
Set to true if all of your data will be drawn at the same height.
Retrieves the internal array for key pIndex of the internal array in the data grid.
Retrieves the internal array associated with line pLine in the data grid.
Handle this message to specify a custom data grid action control.
Handle this message to specify a custom data grid action select control.
Handle this message to specify a custom data grid action select control.
Handle this message to specify a custom data grid left hand side swipe control.
Handle this message to specify a custom data grid right hand side swipe control.
The background color of the header.
The background color of the header that is being sorted by.
The height of the header are of the table.
Specifies the margins to be applied to the fields that display the header text.
The text color to apply to the header area of a table.
The font to apply to the header area of a table.
The text size to apply to the header area of a table.
The text style to apply to the header area of a table.
The color to use when highlighting a row.
The color to apply to text when a row is highlighted.
Set to a string that will be assigned to the htmltext property of the field editor.
The EditValue message is sent to a table column control when EditCell or EditCellOfIndex is called.
Set the control to display when a data grid row is dragged to the right.
Set to true to allow the user to select multiple lines in the data grid.
Shows or hides the data grid background.
Set to true if you would like the data grid to store the data being displayed between sessions.
Redraws row associated with pIndexes using latest data.
Redraws row using latest data.
Redraws the data displayed in the data grid.
Resets the control by clearing out any data.
Redraws the data grid data after having copied in fresh copies of any templates.
Used internally when the rect of the data grid changes.
Set the control to display when a data grid row is dragged to the left.
The primary row color.
This represents the height that your rows will be drawn at.
This is the group that represents a record in your data grid.
Sent when the left hand side data grid swipe control is clicked.
Sent when the left hand side data grid swipe control is hidden.
Sent when the right hand side data grid swipe control is clicked.
Sent when the right hand side data grid swipe control is hidden.
Sent when the user swipes a data grid row left.
Sent when the user swipes a data grid row right.
Hide any visible data grid swipe control.
Display the data grid swipe control on the given side of the row with the given index.
Set to a string that will be assigned to the rtftext property of the field editor.
This overrides the default horizontal scrolling behavior.
This overrides the default vertical scrolling behavior.
Scrollbar ofset from the corner when only one is visible.
Set the width of the scrollbars
Scrolls the data grid so that the line associated with pIndex in the internal data array is in view.
Scrolls the data grid so that pLine is in view.
Set to true to select all text in the field editor.
Selects all lines in the data grid.
Sent whenever the user changes the selection through some sort of user interaction.
Updates the key pIndex in the internal data array.
Updates the internal array of line pLine in the data grid.
Toggles the visibility of the column dividers in the data display area.
Toggles the visibility of the header. Default value is true.
Toggles the visibility of the horizontal scrollbar for a table. True, false or auto.
Toggles the visibility of the vertical scrollbar. True, false, or auto.
The column that the table data is currently being sorted by.
Pass in a column to sort by.
SortDataByKey is the underlying command that all column sorts call.
Gets the style of the data grid, either 'form' or 'table'.
Datagrid cells can be edited. These property configure that editor.
Set to a string that will be assigned to the text property of the field editor.
The text color to apply to the data area of a table or form.
The font to apply to the data area of a table or form.
The text size to apply to the data area of a table or form.
The text style to apply to the data area of a table or form.
Set to a string that will be assigned to the unicodetext property of the field editor.
Set to a string that will be assigned to the unicodetext property of the field editor after being converted from UTF-8 to UTF16.
Line delimited list of columns in your table that are visible.