Object PmgWTable (Table)

See: PmgWTable - Deatiled object description
This object serves for viewing and also for editing any data in the form of table.
This object adopts properties and methods of the PmgObject object.
Properties and methods:
BackColor Default background color of non-fixed table cells
ColFirstVisible Column index that is displayed as the first one after the fixed columns
Cols The number of table columns
Dim Initial table configuration
Draw Redrawing table
FillFromInfo Reading data from object displayed in the INFO system
FitWidth Adjustment of column width to current table width
FixedBackColor Default background color of table fixed cells
FixedCols The number of fixed table columns
FixedFont Fixed table columns font
FixedForeColor Default text color of the table fixed cells
FixedRows The number of fixed table rows
FocusedCellText Value of focused cell
FocusedCol Column index of focused cell
FocusedRow Row index of focused cell
FocusVisible Enable to switch off default frame of focused cell
Font Font of non-fixed table cells
ForeColor Default text color of non-fixed table cells
GetColPrivateData Returns auxiliary column value
GetColWidth Returns column width (in pixels)
GetRowPrivateData Returns auxiliary row value
Grid Enable drawing grid of non-fixed cells
InsertRow Insert new row in table
Interaction Control type of the table
IsCellFocused Detects whether cell has focus
RemoveRow Removes row from table
ResizeColEnabled Enable/disable to change column width
RowFirstVisible Row index that is displayed as the first one after the fixed rows
Rows The number of table rows
SetColPrivateData Sets auxiliary column value
SetColWidth Sets column width (in pixels)
SetEditMode Sets cell to edit mode
SetFocus Causes the object to receive the focus
SetRowPrivateData Sets auxiliary row value
StartHeight Row height
StartWidth Default column width
Methods for Cell setup of the table:
GetCellBackColor Returns background color of the cell
GetCellEditable Returns the flag whether it is enabled to edit the cell
GetCellForeColor Returns text color of the cell
GetCellText Returns text of the cell
GetCellTextAlign Returns text alignment of the cell
GetCellTextAlignVert Returns vertical text alignment of the cell
SetCellBackColor Sets background color of the cell (eventually the whole columns and rows)
SetCellEditable Enable/disable the possibility to edit the cell (eventually the whole columns and rows)
SetCellForeColor Sets text color of the cell (eventually the whole columns and rows)
SetCellText Sets text of the cell
SetCellTextAlign Sets the horizontal cell text alignment
SetCellTextAlignVert Sets vertical cell text alignment
onCellClicked Is triggered when cell receives mouse click
onCellEdited Is triggered when cell editing is finished
onCellEditRequested Is triggered when cell editing is started
onCellFocusChanged Is triggered when cell focus is changed
onCellTextChange Is triggered when edited text is changed
onFixedCellClicked Is triggered when fixed cell receives mouse left button click
onDataUpdate Is triggered on request for data on dragging scrollbar
Configuration tabs:
Object General information about the object
Content Content of the Pmg object in the XML form
Position Setting the position, width and height of the Pmg object
Variables List and configuration of user defined Pmg object variables
Events Algorithms definition for the object events
Methods Definition of designer's method of the Pmg object
Table Basic parameters of the table
Columns Settings of table rows properties
Cells Settings of table cell properties

Pm9.00.00: Object name changed: PmiAx-PmTable -> PmgWTable
Pm8.03.23: Fixed bug: in Web panels: In Firefox it was not possible to set the column width to 0.
Pm8.03.22: Fixed bug: in Web panels:
- It is possible to enter now more than one fixed row or column.
- Sometimes the scrollbar was visible while not needed.
Pm8.02.14: was optimized and is no longer flickering while being rendered.
PROMOTIC 9.0.10 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice