Remove Column from Detail View

tvinci
New Member

Hello AppSheet Community

I have tried everything I know how to do to remove the long stops column from view, but toggling โ€œShow?โ€ to OFF will not make it disappear from the Detail View. How do I omit the long list in the picture? Thank you very much.

-Tiffany

0 21 812
21 REPLIES 21

tvinci
New Member

Here is the SHOW IF formula I am attempting:

Please try the expression as

AND(CONTEXT(โ€œViewTypeโ€)=โ€œFormโ€, CONTEXT(โ€œViewTypeโ€)<>โ€œDetailโ€)

I tried exactly this and nothing changed. I donโ€™t know whatโ€™s going on.

Per @Suvrutt_Gurjar, itโ€™s detail (singular), not details (plural).

Is this setting also need to be ON?

or will the CONTEXT expression above is sufficient?

Yes, that setting must be ON.

Perhaps youโ€™re targeting the wrong column?

2X_3_3ac84c7da8e39a609f191f5a113115f159cd233c.png

I changed the display name of the column. Products appears as Stops.

Could you please repost the screenshot of the new expression?

Thank you. In that case could you please try an expression something like below

CONTEXT(โ€œViewTypeโ€)= โ€œFormโ€

Thank you for your help @Suvrutt_Gurjar, @Steve and @Heru. The problem was the Apply show-if constraints universally option. When I toggled it to on the problem was solved.

Hooray!

@Steve @Suvrutt_Gurjar @Heru
Is this a new/recent property? I donโ€™t remember seeing this before this post.

Itโ€™s been a part of AppSheet as long as Iโ€™ve been using it.

Oh great! Now I have to question the state of my mind!

Serves you right after munging my understanding of Editable?โ€ฆ

To share my test when try to reproduce this post:

I saw a behavior that even by making Show? to OFF, the column still showing in a detail view (See#1 and #2 in picture below)

The column type is TEXT, a Virtual Column Type.

Column is hidden ONLY after Apply-ShowIf-constraints-universally to ON (#4)

It does creates some confusion around when Show? is OFF but apps still sees the column.

Maybe it behave like this because of column is a virtual column?

The column in my particular situation was NOT a virtual column.

Ahh, but there is a conflict here. I have seen this and actually taken advantage of this behavior in the past. And it doesnโ€™t matter if its a VC or normal column.

The conflict is that at some point the [Help] column was explicitly selected to be shown in the view. It can only be selected for the view when Show is โ€œonโ€. When Show is โ€œoffโ€ the column does not appear for selection in the column list on the view.

Later, the [Help] column was explicitly set to NOT show - Show set to โ€œoffโ€.

So which explicit developer action should be honored in the app?

It seems that AppSheet has taken the design approach to still show the column in the view in this situation, which I think I agree with.

In this situation, it then doesnโ€™t really make sense to set the โ€œApply show-if constraints universallyโ€ to force the [Help] column to not show (it may cause other unwanted side affects). Because, the column simply needs to be removed from the viewsโ€™ list of selected columns.

Thanks for explaining this. Now I understand.

Top Labels in this Space