Skip to main content

173 docs tagged with "Datagrid"

View all tags
Docs

AddData

Use this command to add data to the data grid after you have already populated it by setting the dgData or dgText.

AddLine

Add tab delimited text to the data grid after you have already populated it by setting the dgData or dgText.

allow editing

Set to true to allow users to edit the cells of a table or the fields in a form.

auto hilite

Enables the data grid to automatically handle row highlighting.

column labels

Line delimited list of labels for columns in your table.

column margins

Specifies the margins to be applied to each cell in a column.

column widths

Allows you to set all column widths at once. Comma delimited list of integers.

columns

Line delimited list of columns in your table.

corner color

The color of the corner piece that appears when both horizontal and vertical scrollbars are visible.

Datagrid Column Properties

These properties allow you to set properties of individual columns in a table when the 'style' property is set to 'table'.

DeleteIndex

Deletes the specified indexes from the data grid.

DeleteLine

Deletes the specified lines from the data grid.

DeleteLines

Deletes the specified lines from the data grid.

dgColumn

Get the name of the column the instance of the template is Associations with.

dgColumnTemplate

Get the control that is used to visually represent the column in the table.

dgColumnTooltip

Set the tooltip that appears when the mouse is over the column header.

dgControl

Returns the long id of the data grid.

dgData

Get or set the data array that the data grid will display.

dgDataControl

This is a custom property defined in the behavior script for your template

dgDataOfIndex

Get or set the data associated with a particular index.

dgEditMode

Take the data grid into or out of edit mode.

dgFocus

Set to true to focus on a data grid.

dgHeader

Returns the long id of the group that contains the controls for the table header.

dgHeaderControl

Returns the long id of the group that contains the controls for a column header.

dgHeaderTemplate

Get the control that is used to visually represent the header for a column.

dgHilite

This is a custom property are defined in the behavior script for your template

dgHilitedIndexes

Returns a comma delimited list of the indexes that are currently selected.

dgHilitedLines

Returns a comma delimited list of the line numbers that are currently selected.

dgHScroll

Get/set the horizontal scroll of the data grid.

dgIndex

The index used to uniquely identify the record being displayed in the copy of the template.

dgIndexes

Returns the internal list of indexes in the order in which they appear in the data grid.

dgLine

The line (or row) number that is being displayed in the copy of the template.

dgRectOfIndex

Get/set the rect of the control associated with the given index

dgRectOfLine

Get/set the rect of the control associated with the given line

dgText

The dgText property always reflects the same value as the dgData but in tab delimited form.

dgVisibleLines

Returns the first and last line being displayed in the data grid as a comma delimited list.

dgVScroll

Get/set the vertical scroll of the data grid.

dim on focusOut

Dims the highlighted lines when the data grid does not have focus.

EditCell

Sends the EditValue message to the column control for column pColumnName of line pLineNo.

EditCellOfIndex

Same as EditCell but uses an index rather than a line number to locate the line to edit.

EditFieldText

Creates an editable field for editing the contents of pField.

EditKey

Sends the EditValue pKey message to the row control for line pLineNo.

EditKeyOfIndex

Same as EditKey but uses an index rather than a line number to located the line to edit.

EditValue

The EditValue message is sent to a table column control when EditCell or EditCellOfIndex is called.

enable swipe

Turn drag and swipe actions on or off for the data grid.

FillInData

The EditValue message is sent to a table column control when EditCell or EditCellOfIndex is called.

FindIndex

Same as EditKey but uses an index rather than a line number to located the line to edit.

fixed row height

Set to true if all of your data will be drawn at the same height.

GetDataOfIndex

Retrieves the internal array for key pIndex of the internal array in the data grid.

GetDataOfLine

Retrieves the internal array associated with line pLine in the data grid.

GetLeftSwipeControl

Handle this message to specify a custom data grid left hand side swipe control.

GetRightSwipeControl

Handle this message to specify a custom data grid right hand side swipe control.

header margins

Specifies the margins to be applied to the fields that display the header text.

htmltext

Set to a string that will be assigned to the htmltext property of the field editor.

LayoutControl

The EditValue message is sent to a table column control when EditCell or EditCellOfIndex is called.

left swipe control

Set the control to display when a data grid row is dragged to the right.

multiple lines

Set to true to allow the user to select multiple lines in the data grid.

opaque

Shows or hides the data grid background.

persistent data

Set to true if you would like the data grid to store the data being displayed between sessions.

RefreshIndex

Redraws row associated with pIndexes using latest data.

RefreshList

Redraws the data displayed in the data grid.

ResetList

Redraws the data grid data after having copied in fresh copies of any templates.

ResizeToFit

Used internally when the rect of the data grid changes.

row height

This represents the height that your rows will be drawn at.

row template

This is the group that represents a record in your data grid.

rtftext

Set to a string that will be assigned to the rtftext property of the field editor.

ScrollIndexIntoView

Scrolls the data grid so that the line associated with pIndex in the internal data array is in view.

select text

Set to true to select all text in the field editor.

SelectAll

Selects all lines in the data grid.

selectionChanged

Sent whenever the user changes the selection through some sort of user interaction.

SetDataOfLine

Updates the internal array of line pLine in the data grid.

show header

Toggles the visibility of the header. Default value is true.

show hscrollbar

Toggles the visibility of the horizontal scrollbar for a table. True, false or auto.

show vscrollbar

Toggles the visibility of the vertical scrollbar. True, false, or auto.

sort by column

The column that the table data is currently being sorted by.

SortDataByKey

SortDataByKey is the underlying command that all column sorts call.

style

Gets the style of the data grid, either 'form' or 'table'.

text

Set to a string that will be assigned to the text property of the field editor.

text color

The text color to apply to the data area of a table or form.

text font

The font to apply to the data area of a table or form.

text size

The text size to apply to the data area of a table or form.

text style

The text style to apply to the data area of a table or form.

unicodetext

Set to a string that will be assigned to the unicodetext property of the field editor.

utf8text

Set to a string that will be assigned to the unicodetext property of the field editor after being converted from UTF-8 to UTF16.

visible columns

Line delimited list of columns in your table that are visible.