Skip to main content

gridColumnSpan

Applicable only on direct children of grid auto-layout frames. Determines the number of columns this node will span within the parent grid.

Signature

gridColumnSpan: number

Remarks

Must be a positive integer. This property defines how many columns the node will occupy starting from gridColumnAnchorIndex. If the span provided results in the node overlapping with another node in the grid, the setter will throw an error. If the span provided results in the node extending beyond the grid's defined columns, the setter will throw an error.