yvonne.milne
2016-04-22, 09:17
The Lianja.getElementByID(item) method and its (quicker to type) synonym Lianja.get(item) allow you to call methods and get and set properties of the visual elements in the Lianja Object Model (http://www.lianja.com/doc/index.php/Working_with_the_Lianja_Object_Model) (LOM) hierarchy, from App through Pages and Sections to Formitems, Gadgets and Columns.
Also incredibly powerful, but possibly less well know, is the showdocument() function and the corresponding Lianja.showDocument() method.
Here are some of the operations you can do with showdocument() and Lianja.showDocument():
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
Read more on the Lianja wiki here. (http://www.lianja.com/doc/index.php/Using_the_showdocument()_function_and_Lianja.showD ocument()_method)
Also incredibly powerful, but possibly less well know, is the showdocument() function and the corresponding Lianja.showDocument() method.
Here are some of the operations you can do with showdocument() and Lianja.showDocument():
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
Read more on the Lianja wiki here. (http://www.lianja.com/doc/index.php/Using_the_showdocument()_function_and_Lianja.showD ocument()_method)