Skip to main content

ColumnWidth

Typeobject
Backlinks1

This property is used to set the width of columns in a multi-column layout. By setting this property of an element, you can specify either a fixed width or minimum width for each column, thus affecting the appearance of the multi-column layout.

PropertyTypeRequired
classstringRequired
strategyintegerRequired
widthValuenumberRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"columnWidth"

strategy​

Required

Description

no description

Type

integer

Value

enum: the value of this property must be equal to one of the following values:

ValueExplanation
1
min (Specifies the minimum width of the column.)
2
fix (Specifies the fixed width of the column.)

widthValue​

Required

Description

You can set this value to a uniform fixed width value or minimum width value for all columns in the grid, with a minimum column width of 1. This property accepts values in pixels (px) as units.

Type

number