Preconfigurations Simple table.

Creates the graphic item PmiCanvas configured as a simple table with fixed number of rows and columns.
This preconfiguration can be activated when creating a new graphic item and is included in the group: " / Table".
This graphic item contains embedded PmiCanvas item named Dynamic. The content is filled in by the variable named values. The value of this variable is enterd by the method GetData of this graphic item. (The data in this method is emulated for testing purposes.)
In the parent graphic item PmiCanvas there are variables
- Titles - table column names (names separated by semicolon)
- ColsWidth - the widths of columns (widths separated by semicolons)
- RowsHeight - row height (value common for all rows)
- Rows - total number of rows (including the header)
Additional configuration variables are located at the beginning of context itself, or at the beginning of the user method. The following items can be set: Additional configuration variables of the parent graphic item are located at the beginning of the context itself.
- nBorder - width of table grid
- sTabBgColor - background color of table data area
- sTabBorderColor - table grid colour
- sTabTitleColor - table header text colour
- sTabTitleBgColor - background color of column header
These configurators can be set before the preconfiguration is created:
Table column names (separated by ;) (va0;val1;val2;va3;val4;val5; ...)
Table column widths (separated by ;) (140;100;100;100;100;100; ...)
Table rows numberNumber of table rows including the header row.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice