Hi all,
I want to hide the image content block in a card view if there is no image to show, and not leave any white space. I'm using the 'list' layout for the cards, and the column that contains image urls is called media_url:
I found a previous answer here https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/Hide-card-view-image-section-if-no-image-set/m-...
and used the show if formula solution from Grant on the media_url column:
NOT(
AND(
CONTEXT(ViewType)=โCardโ,
ISBLANK([_THIS])
)
)
This works in the editor preview of the app, but it leaves extra whitespace for the image content block when you view the app in a desktop browser.
In the Editor app preview:
In Desktop browser:
My app users primarily use desktop browsers. Is there any way to remove the white space completely on desktop browsers? I have tested the other possible layouts (e.g. large, photo) for a card view and get the same results, with the white space for the image content block always being visible on desktop even if there is no image to show for that record.
Solved! Go to Solution.
Looks like a bug. Not sure if its intentional behaviour in desktop.
Looks like a bug. Not sure if its intentional behaviour in desktop.
User | Count |
---|---|
18 | |
11 | |
11 | |
8 | |
4 |