You can align the UV grid on a planar divided surface by using a straight edge of the surface as a reference, or an external reference. This method allows you to rotate the grid to be aligned to the edges you select.
The divided surface is updated to align the selected U or V grid with the edge of the divided surface. The rotation parameters on the divided surface also update to reflect the new angle.