function adjustColumnWidths(allColumns, expectedWidth) {
    var columnsWidth = column_1.columnsTotalWidth(allColumns);
    var totalFlexGrow = getTotalFlexGrow(allColumns);
    var colsByGroup = column_1.columnsByPin(allColumns);
    if (columnsWidth !== expectedWidth) {
        scaleColumns(colsByGroup, expectedWidth, totalFlexGrow);
    }
}
function adjustColumnWidths(allColumns, expectedWidth) {
    var columnsWidth = column_1.columnsTotalWidth(allColumns);
    var totalFlexGrow = getTotalFlexGrow(allColumns);
    var colsByGroup = column_1.columnsByPin(allColumns);
    if (columnsWidth !== expectedWidth) {
        scaleColumns(colsByGroup, expectedWidth, totalFlexGrow);
    }
}
function adjustColumnWidths ( allColumns , expectedWidth ) { var columnsWidth = column_1 . columnsTotalWidth ( allColumns ) ; var totalFlexGrow = getTotalFlexGrow ( allColumns ) ; var colsByGroup = column_1 . columnsByPin ( allColumns ) ; if ( columnsWidth !== expectedWidth ) { scaleColumns ( colsByGroup , expectedWidth , totalFlexGrow ) ; } }
Adjusts the column widths.
Inspired by: https://github.com/facebook/fixed-data-table/blob/master/src/FixedDataTableWidthHelper.js
Adjusts the column widths . Inspired by : https : // github . com / facebook / fixed - data - table / blob / master / src / FixedDataTableWidthHelper . js
Adjusts the widths of all columns to match the expected width