A total of 1,244 flights have been cancelled and 41 flights diverted at Dubai International (DXB) after record rains flooded the runway on Tuesday.