Promotic

TableHeadBgColor - property of the PmgTrendViewer object

Description:
Background color of head in the table mode in the table mode.
Syntax:
String TableHeadBgColor
Note:
Property access for read and write. The default value of this property is defined in the "Background color" configurator of this object.
 
This property is also functional in Web panels.
 
The property is used only if the table mode is set.
The property returns or sets the RGB String in the form "#RRGGBB".
Example1:
color setting by RGB String in the form "#RRGGBB"
JavaScriptVBScriptSelect and copy to clipboard

var oTView = pMe.Items("../TrendView");

var sTableHeadBgColor = oTView.TableHeadBgColor;   // Reading from the property
oTView.TableHeadBgColor = "#ffff00";   // Writing into the property
Example2:
See the complex example in the TableTimeColumnWidth method.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.