Skuid Mobile: Setting the left panel on page load

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi there!

I've looked everywhere but can't seem to find how to do this...

How can I set the left panel (and have it display) on page load for a skuid mobile page (without requiring some kind of interaction by the user)? Is this going to have to be javascript?

Thanks!
Photo of Diane Steenkamp

Diane Steenkamp

  • 206 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Jannik Gysi

Jannik Gysi

  • 594 Points 500 badge 2x thumb
Hi Diane,

Unfortunately, there's not an out of the box solution. As a workaround, you could try to create an invisible button, which is clicked on page load.

Similar to this: https://community.skuid.com/skuid/topics/how-to-click-a-button-in-a-snippet

Since it is a mobile page, you have to modify it slightly:
$('#uniqueId').trigger('tap');
Instead of:
$('#uniqueId').click();
Don't forget to put it into an in-line JS resource, so it gets executed on page load.


This is a custom JavaScript solution provided as is without support and is intended to function in Skuid Rockaway Iteration 10 (8.15.8). As with any change, we recommend that you implement and test thoroughly in a non-mission critical sandbox environment before deploying to production.
Photo of Diane Steenkamp

Diane Steenkamp

  • 206 Points 100 badge 2x thumb
Cool, thanks Jannik! I'll give that a go.