Reputation: 103
I am setting up a report on a page with multiple checkbox page items and start and end date page items. The user clicks a 'Run Report' button to generate a report region below on the page.
The default selections for the checkbox items are all items selected, and the Start and End Date items have default options based SQL queries.
I want to the report region to hide on the initial page load, and then show once the user clicks 'Run Report'. I tried the following solutions:
Has anyone else run into this problem? Any solutions? Thank you!
Upvotes: 2
Views: 5133
Reputation: 5055
You may like to consider the 'lazy loading' described on Maxime's blog. https://askmax.blog/2018/05/18/lazy-loading-report/
Like you said, a server side condition will trump and DAs that are showing/hiding on the browser, as the region would never render.
If you want to hide something on entry, you can do something similar to what you described, but I'm not quite sure what you've done.
style="display:none;"
to custom attributes of region.) Upvotes: 2