Ver originalfor(i=0;i<tabla.rows.lenght;i++){ for(j=0;j<tabla.rows[i].cells.lenght;j++) { //aqui comparas las celdas}}