function
Source: columnWidths.ts ↗
newWidthForAllColumnsForMeasure()
Creates width item that will set width for all columns containing values of the provided measure.
export declare function newWidthForAllColumnsForMeasure(measureOrId: IMeasure | string, width: number, allowGrowToFit?: boolean): IWeakMeasureColumnWidthItem;
Parameters
Parameter | Type | Description |
|---|---|---|
measureOrId | IMeasure | string | Measure specified either by value or by localId reference |
width | number | Width in pixels |
allowGrowToFit | boolean | (Optional) indicates whether the column is allowed to grow if the table’s growToFit is enabled |
Returns