zng_wgt_grid::cell

Function column_span

source
pub fn column_span(child: impl UiNode, span: impl IntoVar<usize>) -> impl UiNode
Expand description

P Cell column span.

Number of cells this one spans over horizontally, starting from the column index and spanning to the right.

Is 1 by default, the index is clamped between 1..max where max is the maximum number of valid columns to the right of the cell column index.

Note that the cell will not influence the column width if it spans over multiple columns.

This property sets the INFO_ID.

See also the span property to bind both spans at the same time.