Topic Options
#35802 - 02/28/13 12:52 PM Gridview - Hiding columns
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4511
Loc: Wynnewood, PA
Is there a way to selectively hide certain columns depending on the filter?

Right now I have been using the "hide column when summarized", and then summarizing one filter and not summarizing another filter, but this is an inelegant workaround.

Thanks

Steve

Top
#35809 - 02/28/13 02:49 PM Re: Gridview - Hiding columns [Re: Steve Schwartz]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
The best way to do this depends very much on how you want the View to behave.

However,
Code:
=IF(FILTERNAME()="Hide Column","",{Value})

and then giving the column the attribute to AutoHide is a simple approach. A column with the AutoHide attribute will be hidden if it contains all zeros or spaces.
_________________________
Andrew Bates

Top
#35814 - 02/28/13 06:26 PM Re: Gridview - Hiding columns [Re: Retired_Guy]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4511
Loc: Wynnewood, PA
Thanks Andrew

I was able to accomplish what I wanted using the two FILTERNAME and AutoHide functions.

Steve

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (Samuel Kopstick), 44 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14472 Topics
70682 Posts

Max Online: 432 @ 01/20/25 10:17 PM
May
Su M Tu W Th F Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31