Search.../

columns

Gets a list of all the columns contained in the column strip.

Description

Note that the column indices in a column strip are zero-based, even though they are numbered starting from 1 in the Editor.

Type:

Array<Column>Read Only

Was this helpful?

Get a column strip's columns

Copy Code
1let myColumns = $w("#myColumnStrip").columns;
Get the columns, number of columns, and ID of the first column from a column strip

Copy Code
1let myColumns = $w("#myColumnStrip").columns;
2
3let numColumns = myColumns.length; // 4
4let firstColumnId = myColumns[0].id; // "column1"