release/utils/math.js
function getContentWidth(allColumns, defaultColWidth) {
    if (defaultColWidth === void 0) { defaultColWidth = 300; }
    var contentWidth = 0;
    for (var _i = 0, allColumns_1 = allColumns; _i < allColumns_1.length; _i++) {
        var column = allColumns_1[_i];
        contentWidth += (column.width || defaultColWidth);
    }
    return contentWidth;
}
function getContentWidth(allColumns, defaultColWidth) {
    if (defaultColWidth === void 0) { defaultColWidth = 300; }
    var contentWidth = 0;
    for (var _i = 0, allColumns_1 = allColumns; _i < allColumns_1.length; _i++) {
        var column = allColumns_1[_i];
        contentWidth += (column.width || defaultColWidth);
    }
    return contentWidth;
}
function getContentWidth ( allColumns , defaultColWidth ) { if ( defaultColWidth === void 0 ) { defaultColWidth = 300 ; } var contentWidth = 0 ; for ( var _i = 0 , allColumns_1 = allColumns ; _i < allColumns_1 . length ; _i ++ ) { var column = allColumns_1 [ _i ] ; contentWidth += ( column . width || defaultColWidth ) ; } return contentWidth ; }
Gets the width of the columns
Gets the width of the columns