getWidth = function(column) {
    const obj = this;

    let data;

    if (typeof column === 'undefined') {
        // Get all headers
        data = [];
        for (let i = 0; i < obj.headers.length; i++) {
            data.push((obj.options.columns && obj.options.columns[i] && obj.options.columns[i].width) || obj.options.defaultColWidth || 100);
        }
    } else {
        data = parseInt(obj.cols[column].colElement.getAttribute('width'));
    }

    return data;
}
Get the column width

@param int column column number (first column is: 0)
@return int current width