Is it possible to make an action conditional on whether or not the display is in desktop mode. Things like the phone icon action make great sense in a mobile view, but in desktop view, I’d prefer the phone number to be displayed. Is it possible to add a condition to the action that limits the action to phone & tablet views only?
CONTEXT(“Host”)<>“Browser” will be false if its a browser and true for a phone. set that as your dislay_if formula.
Simon, 1minManager.com
1 Like
Thanks. Perhaps this works better in deployment, but in preview, it had the effect of making neither the action button nor the phone number appear. I guess when an action occupies the column, it overrides the normal column data. So, while it’s possible to make the action appear/hidden, it’s not possible to make the display alternate between displaying the action or displaying the underlying column value.
1 Like
Try putting CONTEXT(“Host”) in a virtual column to see what the app thinks it is. Also checkout https://support.google.com/appsheet/answer/10107885?hl=en