cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Channah
Helper III
Helper III

issues with gallery visible function

Hi there, 

 

I have created a table in a gallery. 

 

It is a table with a large number of columns so I was struggling to fit everything. 

 

My solution was to create a toggle that when selected it allows the first half of the table to be hidden and the second half of the table to become visible. 

 

My Code:

 

Section one of the table = VIS 

Section two of the table = VIS1 

 

OnCheck: UpdateContext({vis:true}); UpdateContext({vis1:false})

OnUnCheck: UpdateContext({vis:false}); UpdateContext({vis1:true})

 

This works well but when initially launching the app the two tables are layed over each other within the app and only then works well once the toggle has been used.

 

I have also tried using this

 

Table1 on visible =>  true Or If(Toggle.Value = true, false)

Table2 on visible => false Or If(TOggle.Value = true, true)

 

but still no joy, can anyone help? 

 

Thanks, 

CH

 

1 REPLY 1
eka24
Super User III
Super User III

Watch this video if it help:
https://youtu.be/IjiZDVHAnZo?t=2

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (52,114)