i would like to display datagrids on mobile devices without scrolling left or right. On a small mobile (example: iPhone in portrait mode) i will only display two or three columns, on a large mobile i will display more columns.
How are the easiest way to do this?
I have experimented with sc_field_display(), but this is a lot of work … It lacks IMHO a setting at Fields / <fieldname> / Display Settings thats display this field only if the app running on a specific mobile device. A specific mobile device may for example:
small phone - 240 px width
phone - 320 px width
small tablet - 480 px width
tablet - 768 px width
desktop - 1024 px width
large desktop - 1280 px width
When i use “phone” in Display Settings this field should only display if screen.width >= 320 px.
Do you know what i mean? Are there better ideas?