getStyle = function(cell, key) {
    const obj = this;

    // Cell
    if (! cell) {
        // Control vars
        const data = {};

        // Column and row length
        const x = obj.options.data[0].length;
        const y = obj.options.data.length;

        // Go through the columns to get the data
        for (let j = 0; j < y; j++) {
            for (let i = 0; i < x; i++) {
                // Value
                const v = key ? obj.records[j][i].element.style[key] : obj.records[j][i].element.getAttribute('style');

                // Any meta data for this column?
                if (v) {
                    // Column name
                    const k = getColumnNameFromId([i, j]);
                    // Value
                    data[k] = v;
                }
            }
        }

       return data;
    } else {
        cell = getIdFromColumnName(cell, true);

        return key ? obj.records[cell[1]][cell[0]].element.style[key] : obj.records[cell[1]][cell[0]].element.getAttribute('style');
    }
}
Get style information from cell(s)

@return integer