Difference between revisions of "Treeview Gadget Attributes"
From Lianjapedia
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) |
||
Line 86: | Line 86: | ||
!Desktop||Web||Tablet||Phone | !Desktop||Web||Tablet||Phone | ||
|- | |- | ||
− | |valign="top"|Tree items||A list of items to display in the Tree.|||||||||| | + | |valign="top"|Tree items||A list of items to display in the Tree, e.g.<br>Static list of choices:<br>Apples,Oranges,Bananas<br>Dynamic list of choices from a table:<br>@tablename,expression<br>Dynamic list of choices from a table (SQL SELECT):<br>select expression from tablename|||||||||| |
|- | |- | ||
|valign="top"|Columns to group by||The number of columns to group by to form the tree hierarchy. When grouping data, use a SQL SELECT ORDER BY clause.|||||||||| | |valign="top"|Columns to group by||The number of columns to group by to form the tree hierarchy. When grouping data, use a SQL SELECT ORDER BY clause.|||||||||| |
Revision as of 07:00, 17 December 2014
Under construction
Contents
Details
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Name | The name for this gadget (unique to the section) | |||||
Type | The type of control: Gadget (readonly) | |||||
Gadget type | The type of gadget: treeview (readonly) | |||||
Margin | Margin size around the gadget | |||||
Fixed width | Fix the gadget width (True | False) | |||||
Fixed height | Fix the gadget height (True | False) | |||||
Inline | Render the gadget inline rather than it its own column (True | False) | |||||
Stretch width | Auto stretch the width of the gadget into the width of the section (True | False) |
Geometry
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Absolute | Enable or disable absolute positioning (True | False) | |||||
Top | Top position in pixels | |||||
Left | Left position in pixels | |||||
Width | Width in pixels | |||||
Height | Height in pixels | |||||
CSS style | CSS style (separate attributes with ; or use app:/filename.css) |
Caption
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Caption | The caption for the gadget | |||||
Background color | The background color for the caption | |||||
Foreground color | The foreground color for the caption | |||||
Font | The font for the caption | |||||
Icon | The image for the caption (png | jpg | gif). Use app:/imagename.ext for app specific images. |
|||||
Border width | The caption border width | |||||
Border color | The caption border color | |||||
Transparency | Specify a transparency percentage from 0 to 100 | |||||
Gradient colors | Render the caption color as a gradient (True | False) | |||||
Gradient type | Specify the gradient type: 0=none 1=Vertical spread 2=Left to right 3=Right to left 4=Vertical centered 5=iPad style |
|||||
Gradient start color | Gradient start color | |||||
Gradient end color | Gradient end color |
Data
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Tree items | A list of items to display in the Tree, e.g. Static list of choices: Apples,Oranges,Bananas Dynamic list of choices from a table: @tablename,expression Dynamic list of choices from a table (SQL SELECT): select expression from tablename |
|||||
Columns to group by | The number of columns to group by to form the tree hierarchy. When grouping data, use a SQL SELECT ORDER BY clause. | |||||
Selection column | The column to substitute into the Click/DblClick delegate. Use {} in the delegate where you want the text from this column to be placed. | |||||
CSS style | CSS style for the gadget (separate attributes with ; or use app:/filename.css) | |||||
Column icons | A comma separated list of column icons. | |||||
Hide column headers | Hide the column headers (True | False) | |||||
Row height | Row height for the Tree items | |||||
Font size | Font size for the Tree items | |||||
Expand all | Expand all Tree items when first loaded (True | False) | |||||
Expand depth | Expand all Tree items when first loaded to this depth | |||||
Show indicators | Show expand/collapse indicators in the tree (True | False) | |||||
Background color | The background color for the gadget | |||||
Foreground color | The foreground color for the gadget |
Other Options
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Hide header | Hide gadget header at runtime (True | False) |
Custom Delegates
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Init | The delegate for the Init event | |||||
Load | The delegate for the Load event | |||||
Ready | The delegate for the Ready event | |||||
Click | The delegate for the item Clicked event. | |||||
Double Click | The delegate for the item Double Clicked event |
Permissions and Roles
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Read roles | A comma separated list of roles that can read (and view) the data | |||||
Update roles | A comma separated list of roles that can perform update operations on the data |
UI Presentation Rules
Attribute | Description | More | Desktop | Web | Tablet | Phone |
---|---|---|---|---|---|---|
Desktop | Include this gadget in a Desktop client (True | False) | |||||
Web | Include this gadget in a Web client (True | False) | |||||
Tablet | Include this gadget in a Tablet client (True | False) | |||||
Phone | Include this gadget in a Phone client (True | False) | |||||
UI States | UI states that affect this gadget. Specify multiple states as a comma separated list. | |||||
Initial UI state | The initial UI state for this gadget. | |||||
Readonly when | Gadget is readonly at runtime if specified expression evaluates to true. | |||||
Visible when | Gadget is visible at runtime if specified expression evaluates to true. | |||||
Display orientation | Display depending on mobile device orientation for Tablets and Phones. (Always | Portrait | Landscape) | |||||
Apply rules on change | Apply Page UI presentation rules (Visible when and Readonly when) when data is changed interactively or when navigating records (True | False) |