Skip to main content

Function: measureCollapsedGroup()

function measureCollapsedGroup(
group,
tableCount,
measure?
): object;

Size of a collapsed group card: a header with the group name (plus the note icon when the group has a note) and one row "N tables" with a stacked-cards icon in the key-marker slot. Widths are clamped like tables (METRICS.minTableWidth .. maxTableWidth).

Parameters​

group​

TableGroup

tableCount​

number

measure?​

TextMeasure = estimateTextWidth

Returns​

object

height​

height: number;

width​

width: number;