Difference between revisions of "Google Bar Chart Gadget Attributes"
Yvonne.milne (Talk | contribs) (Created page with "''Under construction'' ==Details== {| class="wikitable" width="100%" !width="20%"|Attribute !width="40%"|Description !width="20%"|More !Desktop||Web||Tablet||Phone |- |valign=...") |
Yvonne.milne (Talk | contribs) (→UI Presentation Rules) |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '' | + | {{DISPLAYTITLE:GoogleBarChart Gadget}} |
+ | =Overview= | ||
+ | Google Bar Chart Gadgets can be loaded into a [[Form Section Attributes|Form Section]]. They are used for displaying Google bar charts. The data, labels and other elements can be fixed values or dynamically evaluated based on the current data. | ||
+ | |||
+ | [[File:google_bar_chart_gadget.png|middle|link=]] | ||
+ | |||
+ | You build Apps in Lianja App Builder visually using the [[:Category:Page_Builder|Page Builder]]. | ||
+ | |||
+ | If you have not yet done so please read [[Understanding_the_Lianja_App_Architecture|Understanding the Lianja Architecture]] and also [[Lianja_is_all_about_ART|Understanding ART]] to better understand this article. | ||
+ | |||
+ | An App consists of pages. Pages are made up of Sections. Form sections are made up of FormItems. We call these collectively "UI Elements" or "Visual Elements". | ||
+ | |||
+ | ==Setting Attributes Declaratively== | ||
+ | |||
+ | You adjust the appearance and behavior of each UI Element in the '''Attributes''' Tab of the [[:Category:App_Inspector|App Inspector]]. | ||
+ | |||
+ | [[{{ns:file}}:bm-attributes.png|800px|left|border|link={{filepath:bm-attributes.png}}|Attributes]] | ||
+ | <br clear=all> | ||
+ | |||
+ | The attributes available consist of some common ones as well as some specific to the UI Element being inspected. | ||
+ | |||
+ | ==Getting and Setting Attributes Programmatically== | ||
+ | The '''setAttribute(name, value)''' method can be used to set the value of an Attribute: | ||
+ | |||
+ | <pre>Lianja.get("pageid.sectionid.fieldid").setAttribute("caption","Formitem1")</pre> | ||
+ | |||
+ | Note: on the desktop, the shortened form '''setAttr(name,value)''' is also available. | ||
+ | |||
+ | The '''getAttribute(name)''' method can be used to get the value of an Attribute: | ||
+ | |||
+ | <pre>cTitle = Lianja.get("pageid.sectionid.fieldid").getAttribute("caption")</pre> | ||
+ | |||
+ | Note: on the desktop, the shortened form '''getAttr(name)''' is also available. | ||
+ | |||
+ | =See Also= | ||
+ | [[Chart Gadget Attributes]], [[Chart Options]], [[Charts Section Attributes]], [[Data Visualization with Charts]], [[Chart|Chart UI Framework Class]], [[Google Map Gadget Attributes]], [[Google Pie Chart Gadget Attributes]] | ||
+ | |||
+ | =Attributes= | ||
==Details== | ==Details== | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | ! | + | !width="10%"|Type |
|- | |- | ||
− | |valign="top"|Name||The name for this gadget (unique to the section)||||| | + | |valign="top"|[[Details Attributes#Name|Name]]||The name for this gadget (unique to the section) |
+ | |valign="top"|id||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Details Attributes#Full name|Full name]]||The full name for this gadget including its parent page and section, e.g. page1.section1.field1 |
+ | |valign="top"|fullid||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Details Attributes#Alias name|Alias name]]||The alias name for this gadget |
+ | |valign="top"|aliasid||Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Details Attributes#App Doc|App Doc]]||The App Doc file for this gadget. This will be included in the [[App Doc]] when it is generated. |
+ | |valign="top"|appdoc||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Details Attributes#Tag|Tag]]||The tag for this gadget |
+ | |valign="top"|tag||Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[MetaTypes|Meta types]]||A comma separated list of metatype names |
+ | |valign="top"|metatypes||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Details Attributes#Custom Props|Custom Props]]||A ';' separated list of custom prop key pairs, e.g. name=barry;company=lianja<br>From v5.3. |
+ | |valign="top"|customprops||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Stretch width||Auto stretch the width of the gadget into the width of the section (True | False)|||||||||| | + | |valign="top"|[[Details Attributes#Type|Type]]||The type of control: Gadget (readonly) |
+ | |valign="top"|type||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Gadget type|Gadget type]]||The type of gadget: webview (readonly) | ||
+ | |valign="top"|gadgetType||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Margin|Margin]]||Margin size around the gadget | ||
+ | |valign="top"|gadgetMargin||valign="top"|Int | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Fixed width|Fixed width]]||Fixed gadget width in pixels | ||
+ | |valign="top"|gadgetFixedWidth||valign="top"|Int | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Fixed height|Fixed height]]||Fixed gadget height in pixels | ||
+ | |valign="top"|gadgetFixedHeight||valign="top"|Int | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Inline|Inline]]||Render the gadget inline rather than it its own column (True | False) | ||
+ | |valign="top"|gadgetInline||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Stretch width|Stretch width]]||Auto stretch the width of the gadget into the width of the section (True | False) | ||
+ | |valign="top"|gadgetStretchWidth||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Desktop Margin Top|Desktop Margin Top]]||Adjust the top margin when laying out an inline gadget to line it up with others horizontally in desktop Apps. From v5.3. | ||
+ | |valign="top"|gadgetpaddingtop||valign="top"|Int | ||
+ | |- | ||
+ | |valign="top"|[[Details Attributes#Web Margin Top|Web Margin Top]]||Adjust the top margin when laying out an inline gadget to line it up with others horizontally in Web/Mobile Apps. From v5.3. | ||
+ | |valign="top"|gadgetpaddingtopweb||valign="top"|Int | ||
|- | |- | ||
|} | |} | ||
Line 28: | Line 97: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | ! | + | !width="10%"|Type |
|- | |- | ||
− | |valign="top"|Absolute||Enable or disable absolute positioning (True | False)||||| | + | |valign="top"|[[Geometry#Absolute|Absolute]]||Enable or disable absolute positioning (True | False) |
+ | |valign="top"|absolutePosition||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Top||Top position in pixels||||| | + | |valign="top"|[[Geometry#Top|Top]]||Top position in pixels |
+ | |valign="top"|absolutePositionY||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|Left||Left position in pixels||||| | + | |valign="top"|[[Geometry#Left|Left]]||Left position in pixels |
+ | |valign="top"|absolutePositionX||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|Width||Width in pixels||||| | + | |valign="top"|[[Geometry#Width|Width]]||Width in pixels |
+ | |valign="top"|absolutePositionWidth||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|Height||Height in pixels||||| | + | |valign="top"|[[Geometry#Height|Height]]||Height in pixels |
+ | |valign="top"|absolutePositionHeight||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|CSS style||CSS style (separate attributes with ; or use app:/filename.css)||||| | + | |valign="top"|[[CSS|CSS style]]||CSS style (separate attributes with ; or use app:/filename.css) |
+ | |valign="top"|cssStyle||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 49: | Line 124: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | ! | + | !width="10%"|Type |
|- | |- | ||
− | |valign="top"|Caption||The caption for the gadget||||| | + | |valign="top"|[[Formitem Appearance#Caption|Caption]]||The caption for the gadget |
+ | |valign="top"|caption||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Formitem Appearance#Caption CSS style|Caption CSS style]]||The gadget caption CSS style (separate attributes with ';' or use ''app:/''filename.css or specify CSS classes separated by spaces). |
+ | |valign="top"|captionCSSstyle||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Colors|Background color]]||The background color for the caption |
+ | |valign="top"|backColor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Colors|Foreground color]]||The foreground color for the caption |
+ | |valign="top"|foreColor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Fonts|Font]]||The font for the caption |
+ | |valign="top"|captionFont||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Formitem Appearance#Icon|Icon]]||The image for the caption (png | jpg | gif).<br>Use app:/imagename.ext for app specific images. |
+ | |valign="top"|captionIcon||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Border | + | |valign="top"|[[Formitem Appearance#Border width|Border width]]||The caption border width |
+ | |valign="top"|captionBorderWidth||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Colors|Border color]]||The caption border color |
+ | |valign="top"|captionBorderColor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[Shading and Transparency|Transparency]]||Specify a transparency percentage from 0 to 100 |
+ | |valign="top"|transparency||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|Gradient | + | |valign="top"|[[Gradients#Gradient colors|Gradient colors]]||Render the caption color as a gradient (True | False) |
+ | |valign="top"|captionGradient||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Gradient | + | |valign="top"|[[Gradients#Gradient type|Gradient type]]||Specify the gradient type |
+ | |valign="top"|captionGradientType||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"|Gradient | + | |valign="top"|[[Gradients#Gradient start color|Gradient start color]]||Gradient start color |
+ | |valign="top"|captionFromColor||valign="top"|Character | ||
+ | |- | ||
+ | |valign="top"|[[Gradients#Gradient end color|Gradient end color]]||Gradient end color | ||
+ | |valign="top"|captionToColor||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 82: | Line 172: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | ! | + | !width="10%"|Type |
|- | |- | ||
− | |valign="top"|Data source||The table and column that this gadget is bound to.||||| | + | |valign="top"|[[Data Attributes#Data source|Data source]]||The table and column that this gadget is bound to. |
+ | |valign="top"|gadgetControlSource||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|URL||The URL for this gadget (template included)||||| | + | |valign="top"|[[Data Attributes#URL|URL]]||The URL for this gadget (template included) |
+ | |valign="top"|gadgetArg||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Editable||Data is editable (True | False)||||| | + | |valign="top"|[[Data Attributes#Editable|Editable]]||Data is editable (True | False) |
+ | |valign="top"|editable||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"|Background color||The background color for the gadget||||| | + | |valign="top"|[[Colors|Background color]]||The background color for the gadget |
+ | |valign="top"|gadgetBackColor||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Foreground color||The foreground color for the gadget||||| | + | |valign="top"|[[Colors|Foreground color]]||The foreground color for the gadget |
+ | |valign="top"|gadgetForeColor||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 101: | Line 196: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | ! | + | !width="10%"|Type |
|- | |- | ||
− | |valign="top"|Hide header||Hide gadget header at runtime (True | False)||||| | + | |valign="top"|[[Details Attributes#Hide_header|Hide header]]||Hide gadget header at runtime (True | False) |
+ | |valign="top"|gadgetHideHeader||valign="top"|Boolean | ||
|- | |- | ||
|} | |} | ||
Line 112: | Line 208: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | ! | + | !width="10%"|Type |
|- | |- | ||
− | |valign="top"|Read roles||A comma separated list of roles that can read (and view) the data||||| | + | |valign="top"|[[Users and Roles|Read roles]]||A comma separated list of roles that can read (and view) the data. |
+ | |valign="top"|permRead||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Update roles||A comma separated list of roles that can perform update operations on the data||||| | + | |valign="top"|[[Users and Roles|Update roles]]||A comma separated list of roles that can perform update operations on the data. |
+ | |valign="top"|permUpdate||valign="top"|Character | ||
|- | |- | ||
|} | |} | ||
Line 125: | Line 223: | ||
{| class="wikitable" width="100%" | {| class="wikitable" width="100%" | ||
!width="20%"|Attribute | !width="20%"|Attribute | ||
− | !width=" | + | !width="45%"|Description |
− | !width=" | + | !width="25%"|Name |
− | !Desktop||Web||Tablet||Phone | + | !width="10%"|Type |
+ | |- | ||
+ | |valign="top"|[[UI Presentation Rules#Desktop|Desktop]]||Include this gadget in a Desktop client (True | False). | ||
+ | |valign="top"|desktopUI||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[UI Presentation Rules#Web|Web]]||Include this gadget in a Web client (True | False). | ||
+ | |valign="top"|webUI||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[UI Presentation Rules#Tablet|Tablet]]||Include this gadget in a Tablet client (True | False). | ||
+ | |valign="top"|tabletUI||valign="top"|Boolean | ||
+ | |- | ||
+ | |valign="top"|[[UI Presentation Rules#Phone|Phone]]||Include this gadget in a Phone client (True | False). | ||
+ | |valign="top"|mobileUI||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#UI States|UI States]]||UI states that affect this gadget. Specify multiple states as a comma separated list. |
+ | |valign="top"|state||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#Initial UI state|Initial UI state]]||The initial UI state for this gadget. |
+ | |valign="top"|uiStateInit||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#Readonly when|Readonly when]]||Gadget is readonly at runtime if specified expression evaluates to true. |
+ | |valign="top"|readonlyWhen||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#Visible when|Visible when]]||Gadget is visible at runtime if specified expression evaluates to true. |
+ | |valign="top"|visibleWhen||valign="top"|Character | ||
|- | |- | ||
− | |UI | + | |valign="top"|[[UI Presentation Rules#Hidden at runtime|Hidden at runtime]]||Hide this formitem at runtime (True | False). |
+ | |valign="top"|hiddenAtRuntime||valign="top"|Boolean | ||
|- | |- | ||
− | | | + | |valign="top"|[[UI Presentation Rules#Display orientation|Display orientation]]||Display depending on mobile device orientation for Tablets and Phones. (Always | Portrait | Landscape) |
+ | |valign="top"|displayOrientation||valign="top"|Character | ||
|- | |- | ||
− | |valign="top"|Readonly when | + | |valign="top"|[[UI Presentation Rules#Apply rules on change|Apply rules on change]]||Apply UI presentation rules (Visible when and Readonly when) when data is changed interactively or when navigating records (True | False). |
+ | |valign="top"|applyRulesOnChange||valign="top"|Boolean | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#Responsive UI width breakpoint|Responsive UI width breakpoint]]||The responsive UI visibility width breakpoint in Web/Mobile Apps. From v5.4. |
+ | |valign="top"|responsivewidthvisibility||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#Responsive UI height breakpoint|Responsive UI height breakpoint]]||The responsive UI visibility height breakpoint in Web/Mobile Apps. From v5.4. |
+ | |valign="top"|responsiveheightvisibility||valign="top"|Int | ||
|- | |- | ||
− | |valign="top"| | + | |valign="top"|[[UI Presentation Rules#Responsive UI minimum width|Responsive UI minimum width]]||The responsive UI minimum width in Web/Mobile Apps. From v5.4. |
+ | |valign="top"|responsiveminwidth||valign="top"|Int | ||
|- | |- | ||
|} | |} | ||
[[Category:Attributes|4 Google Bar Chart Gadget]] | [[Category:Attributes|4 Google Bar Chart Gadget]] | ||
+ | [[Category:Formitems]] |
Latest revision as of 04:22, 1 October 2020
Contents
Overview
Google Bar Chart Gadgets can be loaded into a Form Section. They are used for displaying Google bar charts. The data, labels and other elements can be fixed values or dynamically evaluated based on the current data.
You build Apps in Lianja App Builder visually using the Page Builder.
If you have not yet done so please read Understanding the Lianja Architecture and also Understanding ART to better understand this article.
An App consists of pages. Pages are made up of Sections. Form sections are made up of FormItems. We call these collectively "UI Elements" or "Visual Elements".
Setting Attributes Declaratively
You adjust the appearance and behavior of each UI Element in the Attributes Tab of the App Inspector.
The attributes available consist of some common ones as well as some specific to the UI Element being inspected.
Getting and Setting Attributes Programmatically
The setAttribute(name, value) method can be used to set the value of an Attribute:
Lianja.get("pageid.sectionid.fieldid").setAttribute("caption","Formitem1")
Note: on the desktop, the shortened form setAttr(name,value) is also available.
The getAttribute(name) method can be used to get the value of an Attribute:
cTitle = Lianja.get("pageid.sectionid.fieldid").getAttribute("caption")
Note: on the desktop, the shortened form getAttr(name) is also available.
See Also
Chart Gadget Attributes, Chart Options, Charts Section Attributes, Data Visualization with Charts, Chart UI Framework Class, Google Map Gadget Attributes, Google Pie Chart Gadget Attributes
Attributes
Details
Attribute | Description | Name | Type |
---|---|---|---|
Name | The name for this gadget (unique to the section) | id | Character |
Full name | The full name for this gadget including its parent page and section, e.g. page1.section1.field1 | fullid | Character |
Alias name | The alias name for this gadget | aliasid | Character |
App Doc | The App Doc file for this gadget. This will be included in the App Doc when it is generated. | appdoc | Character |
Tag | The tag for this gadget | tag | Character |
Meta types | A comma separated list of metatype names | metatypes | Character |
Custom Props | A ';' separated list of custom prop key pairs, e.g. name=barry;company=lianja From v5.3. |
customprops | Character |
Type | The type of control: Gadget (readonly) | type | Character |
Gadget type | The type of gadget: webview (readonly) | gadgetType | Character |
Margin | Margin size around the gadget | gadgetMargin | Int |
Fixed width | Fixed gadget width in pixels | gadgetFixedWidth | Int |
Fixed height | Fixed gadget height in pixels | gadgetFixedHeight | Int |
Inline | Render the gadget inline rather than it its own column (True | False) | gadgetInline | Boolean |
Stretch width | Auto stretch the width of the gadget into the width of the section (True | False) | gadgetStretchWidth | Boolean |
Desktop Margin Top | Adjust the top margin when laying out an inline gadget to line it up with others horizontally in desktop Apps. From v5.3. | gadgetpaddingtop | Int |
Web Margin Top | Adjust the top margin when laying out an inline gadget to line it up with others horizontally in Web/Mobile Apps. From v5.3. | gadgetpaddingtopweb | Int |
Geometry
Attribute | Description | Name | Type |
---|---|---|---|
Absolute | Enable or disable absolute positioning (True | False) | absolutePosition | Boolean |
Top | Top position in pixels | absolutePositionY | Int |
Left | Left position in pixels | absolutePositionX | Int |
Width | Width in pixels | absolutePositionWidth | Int |
Height | Height in pixels | absolutePositionHeight | Int |
CSS style | CSS style (separate attributes with ; or use app:/filename.css) | cssStyle | Character |
Caption
Attribute | Description | Name | Type |
---|---|---|---|
Caption | The caption for the gadget | caption | Character |
Caption CSS style | The gadget caption CSS style (separate attributes with ';' or use app:/filename.css or specify CSS classes separated by spaces). | captionCSSstyle | Character |
Background color | The background color for the caption | backColor | Character |
Foreground color | The foreground color for the caption | foreColor | Character |
Font | The font for the caption | captionFont | Character |
Icon | The image for the caption (png | jpg | gif). Use app:/imagename.ext for app specific images. |
captionIcon | Character |
Border width | The caption border width | captionBorderWidth | Int |
Border color | The caption border color | captionBorderColor | Character |
Transparency | Specify a transparency percentage from 0 to 100 | transparency | Int |
Gradient colors | Render the caption color as a gradient (True | False) | captionGradient | Boolean |
Gradient type | Specify the gradient type | captionGradientType | Int |
Gradient start color | Gradient start color | captionFromColor | Character |
Gradient end color | Gradient end color | captionToColor | Character |
Data
Attribute | Description | Name | Type |
---|---|---|---|
Data source | The table and column that this gadget is bound to. | gadgetControlSource | Character |
URL | The URL for this gadget (template included) | gadgetArg | Character |
Editable | Data is editable (True | False) | editable | Boolean |
Background color | The background color for the gadget | gadgetBackColor | Character |
Foreground color | The foreground color for the gadget | gadgetForeColor | Character |
Other Options
Attribute | Description | Name | Type |
---|---|---|---|
Hide header | Hide gadget header at runtime (True | False) | gadgetHideHeader | Boolean |
Permissions and Roles
Attribute | Description | Name | Type |
---|---|---|---|
Read roles | A comma separated list of roles that can read (and view) the data. | permRead | Character |
Update roles | A comma separated list of roles that can perform update operations on the data. | permUpdate | Character |
UI Presentation Rules
Attribute | Description | Name | Type |
---|---|---|---|
Desktop | Include this gadget in a Desktop client (True | False). | desktopUI | Boolean |
Web | Include this gadget in a Web client (True | False). | webUI | Boolean |
Tablet | Include this gadget in a Tablet client (True | False). | tabletUI | Boolean |
Phone | Include this gadget in a Phone client (True | False). | mobileUI | Boolean |
UI States | UI states that affect this gadget. Specify multiple states as a comma separated list. | state | Character |
Initial UI state | The initial UI state for this gadget. | uiStateInit | Character |
Readonly when | Gadget is readonly at runtime if specified expression evaluates to true. | readonlyWhen | Character |
Visible when | Gadget is visible at runtime if specified expression evaluates to true. | visibleWhen | Character |
Hidden at runtime | Hide this formitem at runtime (True | False). | hiddenAtRuntime | Boolean |
Display orientation | Display depending on mobile device orientation for Tablets and Phones. (Always | Portrait | Landscape) | displayOrientation | Character |
Apply rules on change | Apply UI presentation rules (Visible when and Readonly when) when data is changed interactively or when navigating records (True | False). | applyRulesOnChange | Boolean |
Responsive UI width breakpoint | The responsive UI visibility width breakpoint in Web/Mobile Apps. From v5.4. | responsivewidthvisibility | Int |
Responsive UI height breakpoint | The responsive UI visibility height breakpoint in Web/Mobile Apps. From v5.4. | responsiveheightvisibility | Int |
Responsive UI minimum width | The responsive UI minimum width in Web/Mobile Apps. From v5.4. | responsiveminwidth | Int |