Layout Properties
Each layout component has the following properties. Some properties are only available for some types of component.
Insert excerpt _standard_settings _standard_settings nopanel true
Field | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Enter the name of the component. | ||||||||||||||||
Allow Empty Row | Available for drop-down list components.
| ||||||||||||||||
Cache Data | This field is only available if the layout component is a drop-down list.
| ||||||||||||||||
Parent | Available for button components. PhixFlow displays the name for the parent component. | ||||||||||||||||
Action Type | Available for button components. Select one of the following action types that will run when the user clicks the button.
Alternative, use the Action field, below, to specify an action in which you can configure more details. | ||||||||||||||||
| |||||||||||||||||
Action | Available for button components. Select the action to run when a user clicks the button. The drop-down list shows the actions available in the repository. | ||||||||||||||||
Snap Grid Size | Available for the following types of layout component:
Enter the grid size to use when components are snapped to the grid. | ||||||||||||||||
Composite Component |
| ||||||||||||||||
Stream Name | Available for the following types of component:
Select the stream that backs the layout component. | ||||||||||||||||
Display Text | Available for static text field components. Enter the text you want to display on the layout component. By default this field is an expression editor. For options to format the display text as HTML, tick Use HTML Formatting. | ||||||||||||||||
Use HTML Formatting | Available for static text field components.
| ||||||||||||||||
Default Value | Available for the following types of layout component:
Select or enter a value to display in the field. PhixFlow uses this value if:
| ||||||||||||||||
Date/Time Format | Available for the following types of layout component:
Select the format in which to display the date or date time value. | ||||||||||||||||
Number Format | Available for the following types of layout component:
Select the format in which to display the number value. | ||||||||||||||||
Type | Available for dynamic text and drop-down components Select one of the data types:
The data type determines how the selected data will be formatted.
| ||||||||||||||||
Decimal Places | Available for dynamic text components. Enter the number of decimal places to display for numbers. | ||||||||||||||||
URL | Available for URL display components. Specify the URL that you want to be displayed. | ||||||||||||||||
Expression | Available for URL display components. Enter an expression which, if true, determines the URL. | ||||||||||||||||
Multi-line |
| ||||||||||||||||
The following options are only available for date, date-time, number, string and drop-down fields. | |||||||||||||||||
Use Field Name as Place Holder |
| ||||||||||||||||
Place Holder Text | Enter text that PhixFlow will display when the input field is empty. Placeholder text is shown slightly greyed out to distinguish it from text that:
| ||||||||||||||||
The following options are only available for a stream view or a card container. | |||||||||||||||||
Parent | The name of the form or area that this component is a part of. | ||||||||||||||||
Display Name | Enter a name to be displayed as the heading for this component. If no display name is set, the file name for the layout component is displayed. | ||||||||||||||||
Stream View Name | Select the stream view that backs this card container or form. This means you can have aggregated data in the background filter of the card container or form. | ||||||||||||||||
Select First Row By Default |
| ||||||||||||||||
Refresh If Not Active |
| ||||||||||||||||
Show Paging Bar |
| ||||||||||||||||
Default Page Size | Available for card components. Specify the number of cards to be displayed. If not specified, PhixFlow uses the default page size set in System Configuration. | ||||||||||||||||
Use Custom Data Range |
| ||||||||||||||||
Data Range | Available when Use Custom Data Range is ticked.
This value is used instead of the data range specified on the backing stream. | ||||||||||||||||
Offset Periods | Specify an offset. | ||||||||||||||||
Use Custom Default Filter |
| ||||||||||||||||
Default Filter | This field is available when Use Custom Default Filter is ticked. Select or add a filter. This overrides any default filter set in the original view. | ||||||||||||||||
Default Action | Select an action to run when a grid row or card is double-clicked | ||||||||||||||||
Drag Type | Select or add a drag type to use when the user drags a grid row or card; see Drag Types and Drop Targets. | ||||||||||||||||
Default Sort Order | Select or add a default order in which data will be displayed; see Stream View Sort Order. |
Background Filter Rules
For stream view components and card containers there is a section to specify a background filter that PhixFlow applies to the stream data before it is displayed in the component.
Field | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Evaluate These Filter Rules as an Or | Specify how to combine the Background Filter Rules.
| ||||||||||||||||||||
Background Filter Rules | This section has a toolbar with standard buttons. The grid contains a list of the background filter rules that are combined together to create the background filter for the layout component. To add a filter rule to the list, click
For information about the details shown in the grid, see Filter Rule. |
Kanban Board Anchorkanban_board kanban_board
kanban_board | |
kanban_board |
This section is available when the Advanced → Type is Cards.
Kanban boards display data records as cards in columns, with headings. The columns usually represent the status of the record. When a Kanban application user drags a card from one column to another, the default kanban drag action automatically updates these attributes to match those of the target column.
Example: a stream may record information about status using the attributes StatusID
and StatusName
.
StatusID | StatusName | Data |
---|---|---|
Use this attribute to identify the columns | Use this attribute to name the columns | |
01 | Planned | Yes |
02 | In Progress | No |
03 | In Review | No |
04 | Done | Yes |
Table 1: Example stream attributes for a kanban board
Use the following properties to set the columns and headers for the kanban board. To specify the styles for the kanban board columns and headings, see 2168686370, below.
Field | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Kanban Columns | This field is required. Select an attribute from the list. PhixFlow uses this attribute to create the kanban columns. Each value found for the attribute in the stream data generates a column. PhixFlow displays the data records as cards in the column that represents the value of this attribute. In some cases, the attribute that you use to create the columns will have a data form that is not useful as a column heading. For example it may be a identifier, rather than a name. In this case, specify Kanban Column Headings. |
To display kanban columns for all possible values of the selected attribute, tick Evaluate Kanban Columns as Expression. PhixFlow adds the expression fields:
Enter an expression that defines all the columns and (optionally) their headings. | ||||||||
Kanban Column Headings | Optionally, specify the attribute to create the kanban column headings. Select an attribute from the list. This attribute must have values that correspond to the values in the Kanban Columns attribute. For example, if you select a Kanban Columns attribute of | |||||||||
Evaluate Kanban Columns as Expression |
| |||||||||
Kanban Column Expression | Available when a Kanban Columns is selected and Evaluate Kanban Columns as Expression is ticked. |
Your expression can directly specify all the columns/headings. If you want the flexibility of changing the kanban columns over time, consider having a stream in which all the attributes for the kanban columns and their headings are defined. Use the expression to refer to the stream. When you update the stream, the kanban board will automatically be updated. | ||||||||
Kanban Column Headings Expression | Available when a Kanban Column Headings is selected and Evaluate Kanban Columns as Expression is ticked. |
Background Filter Rules
For stream view components and card containers there is a section to specify a background filter that PhixFlow applies to the stream data before it is displayed in the component.
Field | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Evaluate These Filter Rules as an Or | Specify how to combine the Background Filter Rules.
| ||||||||||||||||||||
Background Filter Rules | This section has a toolbar with standard buttons. The grid contains a list of the background filter rules that are combined together to create the background filter for the layout component. To add a filter rule to the list, click
For information about the details shown in the grid, see Filter Rule. |
Style Settings
Select formatting properties for the current layout component. The Style Settings properties are the same as those that you can set in a Style, except for those related to kanban boards. These options construct CSS styling for the layout component; see w3schools.com CSS for details of CSS. If the formatting you require is not available in this section, you can also create custom styling, see CSS Properties. PhixFlow applies the style to the layout component when you save changes to the properties tab.
Field | Description | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Kanban Column Style | Available when a Kanban Board → Kanban Column attribute is selected. | Select a Style to format the kanban board columns and their headers.
| ||||||||||||||||
Kanban Header Style | ||||||||||||||||||
Header Style | ||||||||||||||||||
Remaining properties | The rest of the Style Settings properties are the same as those that you can set in a Style. |
Tip |
---|
Style settings include adding scrollbars. Grid and card container components that have scrollbars can also scroll automatically. This means users can drag cards or grid items to targets that are currently off-screen.
Automatic scrolling can be:
|
CSS Properties
A list of CSS properties. Click
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Shared Styles
A list of shared styles. Click Show the List of Styles to see the styles available in the repository. You can drag styles from the repository into the grid to add a shared style to this component.
Formatting Rules
A list of rules about when to apply formatting. Click
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Position Settings
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Order | The order of the layout component. | ||||||||
Tab Index | The order of the tab. | ||||||||
Width | The width of the component; https://www.w3schools.com/cssref/pr_dim_width.asp | ||||||||
Height | The height of the component; https://www.w3schools.com/cssref/pr_dim_height.asp | ||||||||
Top | The top of the component; https://www.w3schools.com/cssref/pr_pos_top.asp | ||||||||
Left | The left of the component; https://www.w3schools.com/cssref/pr_pos_left.asp | ||||||||
Right | The right of the component; https://www.w3schools.com/cssref/pr_pos_right.asp | ||||||||
Bottom | The bottom of the component; https://www.w3schools.com/cssref/pr_pos_bottom.asp | ||||||||
Prevent Dragging |
|
Mappings
This section is only available for layout components that can have actions, such as buttons, stream views and cards. This means you can map attributes that have different names. PhixFlow will evaluate all the mapped datasets when it runs the action.
Advanced
Field | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | PhixFlow populates this property with the type of layout component. | |||||||||
View Type | Available for area components. Optionally select one of the following to set additional behaviour for an area.
| |||||||||
Internal Icon Source |
| Optionally specify either an internal or an external icon source. If you specify both, PhixFlow will use the Internal Icon Source. When you add a layout component to the palette, PhixFlow uses the image as the icon in the palette. If you do not specify an image, PhixFlow uses a default icon based on the layout component type. | ||||||||
External Icon Source | Enter the path to an icon that is stored in your file system. | |||||||||
Test Handle | Enter a name that you can use for this layout component, when you are running automated tests on your application. | |||||||||
Template | Read-only. Available for layout components that have been added to a palette.
| |||||||||
Palette Label | Available for layout components that have been added to a palette. Optionally, enter a label that will appear below this layout component when it is displayed in the palette. This is useful if you want a shorter or more descriptive label than the component name, which is displayed by default. |
Description
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Tooltip | Enter tooltip text. When using the application, if the user hovers their mouse over this componen, PhixFlow displays this text.
| ||||||||
Description | Enter a description to explain the purpose of this modelling object. |
Creating Background Filters Within a Layout
As well as using the properties tab to set up background filters, you can apply them within an unlocked dashboard or layout that contains a grid view.
In the layout, drag the column header from a grid view onto a form or card. This creates a background filter using the backing stream attribute. When you then select a different row in the grid view, the contents of the form or card is updated to show the details for the selected row.
If the backing stream data no longer contains an attribute that appears as a column header in the grid view, PhixFlow prompts you to select an alternative attribute of the same type, if one is available. If the backing stream has no attributes of the same type, PhixFlow reports and error.
Palettes and Layouts
The format of layouts created using components from palettes can be affected by the availability of the default palette. In
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
- If the container application that contains the layout is running, PhixFlow uses the default palette set for the application.
- If the container application is not running, PhixFlow uses the default palette set for the area.
- If the container application is not running, but you are dragging stream attributes into a layout for a different (destination) application, which is running, then PhixFlow uses the default palette for the destination application.
In all cases, if no palette has been set for the application or area, PhixFlow falls back to using the system default palette.
Understanding Kanban Boards
A kanban board is a project tracking tool that shows work at various stages of a process. Each column represents a stage in the process. Each piece of work is represented by a card.
Card components have properties so that you can easily create kanban boards. In the Layout → Kanban Board section, select an attribute from the backing stream to define kanban columns, and optionally their headings. PhixFlow creates one card for each record in the stream data, and displays it in the appropriate column. To define the styles for the columns and headings, use the options in Layout → Style Settings.
There are two ways to move cards to different columns.
- Either update the backing stream data. When you refresh the kanban board, PhixFlow automatically moves the cards to the columns that reflect their stage in the process.
- Or drag a card from one column to another. PhixFlow automatically updates the values of its kanban attributes to reflect the target column.
Example
The backing stream for a layout has the attribute Status, which can have the values:
- Not started
- In progress
- Blocked
- Done
PhixFlow uses these values to create 4 columns, and uses the status values as the headings. Each data record is displayed as a card. The Status attribute determines which column the card is in. You can drag a card between columns, for example from Not started to In progress. In the backing stream, PhixFlow updates the Status of the record to In Progress.
Layout Context Menu
The context menu options vary for different types of component. Options for dashboards will be listed:
- either in the context menu itself
- or in the
Options sub-menu.Insert excerpt _dashboard _dashboard nopanel true
In the following table, the menu options are grouped according to purpose. This may not be the order in which the options appear in the menu.
Menu option | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fixing and Moving | |||||||||||
| When a layout or dashboard is locked, unlock to make changes. | ||||||||||
| Lock a layout or dashboard to display the data content. | ||||||||||
| Pin or unpin a component. You can drag unpinned components to different locations in the layout. Unpinned components will move if another component is dropped on or near them. | ||||||||||
| Fix the height of the selected component. | ||||||||||
| Toggle whether or not the currently selected component is automatically autosized when an application window is resized by the user.
| ||||||||||
| |||||||||||
| Align the left edges of all the selected components to the component that is furthest to the left. | ||||||||||
| Align the right edges of all the selected components to the component that is furthest to the right. | ||||||||||
| Align the top edges of the selected components to the component that is positioned highest. | ||||||||||
| Align the bottom edges of the selected components to the component that is positioned lowest. | ||||||||||
| Equally distribute the selected components horizontally in the available space. | ||||||||||
| Equally distribute the selected components vertically in the available space. | ||||||||||
Information | |||||||||||
| Open the properties tab for the layout element. | ||||||||||
| Open the properties tab for the dashboard. | ||||||||||
| Open the properties tab for the steam. | ||||||||||
| Open the list of context parameters. | ||||||||||
| Open the list of attributes for the stream. This option is available when a dashboard has a backing stream. | ||||||||||
| Open the list of attributes for the stream view. This option is available when a dashboard has a backing view as well as a backing stream. | ||||||||||
| Open a window showing the data record. | ||||||||||
| Open the repository with the component's name highlighted. | ||||||||||
| Open a new mapping properties tab. | ||||||||||
Adding | |||||||||||
| For new dashboards, add a form container. | ||||||||||
| Open the palette to drag in components. | ||||||||||
| Add a vertical bar to the current area. | ||||||||||
| Add a horizontal bar to the current area. | ||||||||||
Selecting | |||||||||||
| For the selected area or container, select all the components contained in it. | ||||||||||
Copy as Template | Use the selected item as a layout template. This also copies any background filter rules and data mapping to the template. | ||||||||||
Deleting | |||||||||||
| Delete a layout element. | ||||||||||
| Delete the selected component from the layout. |