Can Hidden sections cause the top of your page to run off the screen in runtime. I have two pages that this seems to be occurring on.
Can Hidden sections cause the top of your page to run off the screen in runtime. I have two pages that this seems to be occurring on.
What do you mean by hidden sections? How are you hiding the section?
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
I am using showdocument such as: showdocument("section:form_edit_menu?action=hide") . I haveabout 6 sections that I show and hide.
This is what I am getting below at runtime.
This is what it should look like.
Hiding and showing sections like that is going to be problematic. All you need to be doing is expanding and collapsing them rather than actually hiding them which excludes them from the page layout.
Principal developer of Lianja, Recital and other products
Follow me on:
Twitter: http://twitter.com/lianjaInc
Facebook: http://www.facebook.com/LianjaInc
LinkedIn: http://www.linkedin.com/in/barrymavin
You can try with
lianja.get("YourSection").collapse()
lianja.get("YourSection").expand()
At what time should I use showdocument vs lianja.get when working with pages and sections? Is there a general rule of thumb?
Hi,
With showdocument() and Lianja.showDocument() one can:Q:
Is there an advantage to using Lianja.showDocument() method other than the ability to chain commands in a single call (which is very nice)? IOW, can all the same actions/settings be accessed using Lianja.get()? I ask because I seem to remember at one point that some things could only be done using showDocument.
A:
There are certainly some that are showdocument only - the hide/show of the navigation panel and sidebars and the UI States spring to mind.
Others are standard section or pagemethods and will be calling the same code behind the scenes.
- Switch to another App
- Switch to another Page
- Navigate records: First, Previous, Next, Last, move relative, goto record number
- Initiate data operations: Add, Edit, Delete
- Search and filter data
- Refresh 'Visible when' and 'Readonly when' Rules at Section or Page level
- Change or reset UI States
- Navigate to the previous or next Page
- Hide or show the left and right Sidebars
- Hide or show the Navigation Panel
- Expand and collapse Sections
- Select a particular Section in an accordion Page
- Select a particular Tab in a TabView Section
- Dynamically change Virtual Table queries
https://www.lianja.com/community/sho...ll=1#post16784
Last edited by josipradnik; 2018-01-11 at 00:25.
Bookmarks