newWidthForAllMeasureColumns()
Home > @gooddata/sdk-ui-pivot > newWidthForAllMeasureColumns
newWidthForAllMeasureColumns() function
Creates width item that will set width for all measure columns in the table.
Signature:
export declare function newWidthForAllMeasureColumns(width: number, allowGrowToFit?: boolean): IAllMeasureColumnWidthItem;
Parameters
Parameter | Type | Description |
---|---|---|
width | number | Width in pixels |
allowGrowToFit | boolean | (Optional) indicates whether the column is allowed to grow if the table's growToFit is enabled |
Returns: