getHeight = function(row) {
    const obj = this;

    let data;

    if (typeof row === 'undefined') {
        // Get height of all rows
        data = [];
        for (let j = 0; j < obj.rows.length; j++) {
            const h = obj.rows[j].element.style.height;
            if (h) {
                data[j] = h;
            }
        }
    } else {
        // In case the row is an object
        if (typeof(row) == 'object') {
            row = $(row).getAttribute('data-y');
        }

        data = obj.rows[row].element.style.height;
    }

    return data;
}
Get the row height

@param row - row number (first row is: 0)
@return height - current row height