WEBWIDTH Property (DATATABLE)


PLBCMP GUI Only

 

The WEBWIDTH property specifies the width of a column in a DATATABLE.

 

WEBWIDTH={value}

Note the following:

  1. WEBWIDTH may be used with SETPROP or GETPROP statements for elements of the Columns collection.

  2. This property only takes affect when a DATATABLE is bound to a HTMLCONTROL.

  3. The {string} is a Character String Variable or literal that specifies a string with normal HTML format used for the CSS 'width' that is applied to a DATATABLE Columns column. See the following link for CSS units that can be used:

  4.  

    https://www.w3schools.com/cssref/css_units.asp

     

Example:

 

 

SETPROP

DT.columns("Col7"), *WebWidth="100px"

 

SETPROP

DT.columns("Col7"), *WebWidth="20%"

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference WEBWIDTH Property WIDTH Property