Difference between revisions of "Details Attributes"

From Lianjapedia
Jump to: navigation, search
Line 11: Line 11:
 
* The Caption attribute can be queried or changed programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").caption]].
 
* The Caption attribute can be queried or changed programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").caption]].
 
<pre>cVar = Lianja.getElementByID("page1.section1").caption</pre>
 
<pre>cVar = Lianja.getElementByID("page1.section1").caption</pre>
 +
 +
==Database==
 +
The database for this section.
 +
 +
'''Supported by'''
 +
 +
'''Notes'''
  
 
==Fixed height==
 
==Fixed height==
Line 110: Line 117:
  
 
[[:Category:Attributes#Gadgets|Gadgets]]
 
[[:Category:Attributes#Gadgets|Gadgets]]
 +
 +
'''Notes'''
 +
 +
==Table==
 +
The database for this section.
 +
 +
'''Supported by'''
  
 
'''Notes'''
 
'''Notes'''

Revision as of 11:21, 18 May 2016

Under Construction

Caption

The section caption displayed in the section header.

Supported by

Sections

Notes

cVar = Lianja.getElementByID("page1.section1").caption

Database

The database for this section.

Supported by

Notes

Fixed height

For Sections, the Fixed height attribute is a checkbox (True | False) determining whether the height should be fixed or not. The section height in pixels is set in the Height attribute.

For Gadgets, the Fixed height attribute defines the height of the gadget in pixels. If Fixed height is 0 (default), the gadget is autosized to the height of the containing section.

Supported by

Sections, Gadgets

Notes

Fixed width

Defines the width of the gadget in pixels. If Fixed width is 0 (default), the gadget is autosized to the available width of the containing section.

Supported by

Gadgets

Notes

Gadget type

The type of gadget (readonly).

Supported by

Gadgets

Notes

Heading

The grid column heading.

Supported by

Grid Columns

Notes

Height

The section height in pixels.

Supported by

Sections

Notes

Inline

Render the gadget inline rather than it its own column (True | False).

Supported by

Gadgets

Notes

Margin

Margin size in pixels around the gadget.

Supported by

Gadgets

Notes

Meta types

A comma separated list of metatype names.

Supported by

Page, Sections, Gadgets, Form Section Fields, Canvas Section Advanced Controls, Grid Columns

Notes

Name

The name for this container or control.

Supported by

Page, Sections, Gadgets, Form Section Fields, Canvas Section Advanced Controls

Notes

cVar = Lianja.getElementByID("page1").id
cVar = Lianja.getElementByID("page1.section1").id
cVar = Lianja.getElementByID("page1.section1.field1").id

Stretch width

Auto stretch the width of the gadget into the width of the section (True | False)

Supported by

Gadgets

Notes

Table

The database for this section.

Supported by

Notes

Type

The type of container or control (readonly).

Supported by

Sections, Gadgets, Form Section Fields, Canvas Section Advanced Controls

Notes

cVar = Lianja.getElementByID("page1.section1").type
cVar = Lianja.getElementByID("page1.section1.field1").type