Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmaDataTable (Data Table)

Description:
See: PmaDataTable - Deatiled object description
 
The object serves for the definition of the data table (2-dimensional data). Data in this table are ordered into columns and rows. It is the analogy of the database table. A data type and a column name can be defined for the column.
 
No other Pma objects can be created in this object.

This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.

This object adds variables into the calculation of the application size, which influences the basic runtime license type/size (see: Price list of the PROMOTIC system ).

This object adopts properties and methods of object PmaObject.
Properties and methods:
Cols The number of columns
EndOfTransfer Fires the onEndOfTransfer event
FindValue Find the row with the specified value
GetArray Creates an array of values from selected data items of the object
GetCellValue returns the value of the table cell
GetColParam Returns the column parameter
InsertCol Insert of new column
InsertRow Insert new column
Item Access to table values
LoadFromFile Loading data for this object from a file
LoadFromString Assignment of selected data item values of the object from the string value
MaxCols Maximum number of columns
MaxRows Maximum number of rows
ReadFromWeb Reading data from Web server in the XML format
RemoveCol Remove the column
RemoveRow Remove the row
Rows The number of rows
SaveToFile Saving data of this object into the file
SaveToString Creates a string value from selected data item values of the object
SetArray Assignment of an array of values to the data items of the object
SetCellValue Sets the value of the table cell
Sort Sort of rows by values in the specified column
WebClientIsReady Detects whether the object is ready to write/read to Web server
WriteToWeb Writing data to Web server in the XML format
Events:
onEndOfTransfer Is triggered after ending the data transfer
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
DataTable Definition of the data table range
Columns Definition of table columns
Permissions Object permissions
Web server The link-up of the object to the Web server
See also:

History:
Pm9.00.00: Object name changed: PmDataTable -> PmaDataTable
Pm8.03.15: The first column can now be defined as Identifier type. This row identifier can be used for example in the Item property for addressing the table cell.
Pm8.03.14: On the "Columns" page there is a new "Read only" configurator for each new column. The variable in such column can be written only once and these variables are not included into the total variable count of the application. This fact then affects the type of basic runtime license to be used. See "Read only" columns.
PROMOTIC 9.0.7 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