tbl_dbg
    /**
       table debugging code;
    */
    function check_rowspans(rows, start_row, ini) {
        var tmp = new Array();
        for (var i = start_row; i <rows.length; i++) {
            for (var col = 0; col <rows[i].length; col++) {
                if (rows[i][col].rowspan> 0) {
                    var _text = rows[i][col].text;
                    tmp.push({
                        row: i,
                        column: col,
                        spans: rows[i][col].rowspan,
                        text: _text
                    });
                    if (!ini) break;
                }
            }
        }
        return tmp;
    }

User Tools