Determining orientation of device

Is there a way to determine the orientation of the device?

I want to see if I can use that to decide the number of columns of a table to display.

Hi,

You can get device’s orientation with a formula:

systemVars.orientation

image

2 Likes

Thanks for the quick reply.