Your rowData is an array of arrays that contain Objects. You'll need two nested for-loops for this. One that loops over the outer index and one that loops over the inner index. The inner loop needs to iterate 5 times, since each array element contains an array of 5 elements, according to your example.
Please try writing something yourself and show it here if you have trouble getting it right.