autosize_cells(last_cells) {
        while (last_cells.length > 0) {
            const [cell, metadata] = last_cells.pop();
            const offsetWidth = cell.offsetWidth;
            this._column_sizes.row_height = this._column_sizes.row_height || cell.offsetHeight;
            this._column_sizes.indices[metadata.size_key] = offsetWidth;
            const is_override = this._column_sizes.override.hasOwnProperty(metadata.size_key);
            if (offsetWidth && !is_override) {
                this._column_sizes.auto[metadata.size_key] = offsetWidth;
            }
            if (cell.style.minWidth === "0px") {
                cell.style.minWidth = `${offsetWidth}px`;
            }
        }
    }
/**
     * Calculate amendments to auto size from this render pass.
     *
     * @param {*} last_cells
     * @param {*} {columns, column_pivots}
     * @memberof RegularTableViewModel
     */
Calculate amendments to auto size from this render pass.
Calculate amendments to auto size from this render pass .
autosize_cells(last_cells) {
        while (last_cells.length > 0) {
            const [cell, metadata] = last_cells.pop();
            const offsetWidth = cell.offsetWidth;
            this._column_sizes.row_height = this._column_sizes.row_height || cell.offsetHeight;
            this._column_sizes.indices[metadata.size_key] = offsetWidth;
            const is_override = this._column_sizes.override.hasOwnProperty(metadata.size_key);
            if (offsetWidth && !is_override) {
                this._column_sizes.auto[metadata.size_key] = offsetWidth;
            }
            if (cell.style.minWidth === "0px") {
                cell.style.minWidth = `${offsetWidth}px`;
            }
        }
    }
autosize_cells ( last_cells ) { while ( last_cells . length > 0 ) { const [ cell , metadata ] = last_cells . pop ( ) ; const offsetWidth = cell . offsetWidth ; this . _column_sizes . row_height = this . _column_sizes . row_height || cell . offsetHeight ; this . _column_sizes . indices [ metadata . size_key ] = offsetWidth ; const is_override = this . _column_sizes . override . hasOwnProperty ( metadata . size_key ) ; if ( offsetWidth && ! is_override ) { this . _column_sizes . auto [ metadata . size_key ] = offsetWidth ; } if ( cell . style . minWidth === "0px" ) { cell . style . minWidth = ` ${ offsetWidth } ` ; } } }
Calculate amendments to auto size from this render pass.
Calculate amendments to auto size from this render pass .