Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetColWidth - method of object PmgWTable

Description:
Sets column width (in pixels).
Syntax:
Empty SetColWidth(Long Col, Long Value)
Calling:
oTable.SetColWidth col,width
Parameters:
Col(Long) If the value is greater or equal 0 then it is a index of the column (zero-based index, counted including the fixed part).
Value -2 means the last column.
Value -3 sets the value to all columns (counted including the fixed part).
Value(Long) The new value to be written.
Note:

This method is also functional for Web panels.

See also:
Example:
Sets the width of the 5th column
JavaScriptVBScriptSelect and copy to clipboard

var oTable = pMe.Items("/Table");
oTable.SetColWidth(4, 80);
oTable.Draw();
PROMOTIC 9.0.4 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