I want to publish a doc where I want to add an option for readers to change the view between the card and table.
There’s no option yet to switch views programmatically and there’s no option to create multiple views in a tab like setup (like Notion). There’s a couple of options to fake it/hack it.
-
Create your two table views on 2 different pages and places buttons or links from one to the other like this.
-
Create a “Switcher” table with a canvas column in a “Detail” view. Then for each view you want create 1 row and in the canvas column put the view you want. @Brian_Roech_Roehrich offered up this idea on this post.
However, I’ve noticed that switching back to table view opens a new tab. Is it possible to switch views on the same page? The current interaction feels like navigating between two different pages. Instead, I want to have two different views on the same page without opening a new tab.
That was just how I setup the buttons. I changed it so they target the same tab. If you want to have them on the same page I would recommend looking into the solution by Brian. The link is in my previous post.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.