Basic Settings
Field | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Order | The order in which the attributes will appear in the view. For a grid view, this is the order of columns. | ||||||||||||||||
Name | The display name of the attribute in the view. By default, this is the same as the name of the attribute in the underlying stream. Remember that if you are applying an Aggregate Function to the attribute, it is often useful to reflect that in the display name. For example: you are going to display the average monthly spend for each customer, by applying the aggregate function Average to the attribute | ||||||||||||||||
Role | This option is available if the view is a chart, i.e. not a data grid. This is the role that the field has in generating the chart. You can set the role manually in the stream view attribute editor - but it is generally better to create charts using the visual editor. To do this:
You will see a visual chart editor. You can drag stream attributes onto this editor to create your chart. | ||||||||||||||||
Aggregate Function | You can specify an Aggregate Function on this attribute. As soon as you have specified a single aggregate attribute in your view, any other fields will be either aggregate attributes - if you also specify an aggregate function for them - or used as grouping attributes. | ||||||||||||||||
Action | Specify a Stream Action for this Stream View Attribute. If this is a grid view then hovering the mouse over a cell a column created from this Stream View Attribute will cause a cog to appear. Clicking the cog select the row which contains the cell you have clicked, then will run this action. | ||||||||||||||||
Always Show The Action Icon | Available when an Action is specified.
| ||||||||||||||||
Hide the Input Field | Available when an Action is specified.
| ||||||||||||||||
Hide the Action Icon | Available when an Action is specified.
| ||||||||||||||||
Action Icon Style | The style applied to the action icon. If no style is set, PhixFlow uses a default cog icon. | ||||||||||||||||
Stream Attribute Details | |||||||||||||||||
Name | The name of the underlying stream attribute. | ||||||||||||||||
Type | The type of the underlying stream attribute. This cannot be edited here. It must be edited in the stream. See Stream. | ||||||||||||||||
Number Format | Available when the underlying stream attribute is Type Float, Integer or Decimal. Specify the number format as it will be displayed on a grid or form; see Number Format. | ||||||||||||||||
Date/Time Format | Available when the underlying stream attribute is Type Date or Datetime. Specify the format of a date/time as it will be displayed on a grid or form; see Date Time Format. |
Grid Settings
These settings are only available for view attributes for grid and pivot views.
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Grid Default Width (pixels) | Set the default width of the column for this attribute. PhixFlow will create the grid with default column widths - you only need to specify a value in this field if the width you want is different from this default. | ||||||||
Grid Minimum Default Width (pixels) | If you do not specify a Grid Default Width then PhixFlow will set the size of the column depending on the space available. If you set a Grid Minimum Default Width then PhixFlow will ensure that the column is at least this wide but will make it wider if there is available space. You can still make the column narrower than this by manually shrinking it after the grid has first been displayed. This field will be ignored if you set a specific Grid Default Width. | ||||||||
Label | An optional label for the resulting column header. If left blank, this is the Name of the stream view attribute, formatted with a space before each capital letter. The label gives you more options for setting the column header - for example, control over the white space in the column heading - but you can also make this an expression. For example, to that the column contains transactions for the currently logged in user, you could use:
For user
To use an expression in this field, tick the box Label is Expression. Multi-level labels can be generated by configuring the Label to return a list of values. | ||||||||
Label is Expression |
| ||||||||
Changes Row Colour |
| ||||||||
Always Hidden |
Use this option when you need to include a field in a view for a filter or Action, but displaying it would make the view cluttered. | ||||||||
Hide if evaluates to True | Enter an expression that determines whether or not the attribute's field is displayed on the view. When the expression evaluates to true, then the field will be hidden. When Always Hidden is ticked, the result of this expression is ignored. | ||||||||
Read Only |
| ||||||||
Alignment | Set the alignment of values in this column to:
|
Drop-Down Settings
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Allow Empty Row |
| ||||||||
Cache Data |
| ||||||||
Selection Stream View | The stream view that will be displayed as a drop-down for the table cell. | ||||||||
Drop-Down Value Field | A custom field to be used for getting cell value from the drop-down. | ||||||||
Mappings | A list of additional mappings which can be used to set values of more table cells (columns) using this drop-down. |
Form Settings
These settings are only available for form views - that is, grid views that have Form View ticked.
Field | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Read Only | This makes the field read-only in the form view. | ||||||||
Height On Form (pixels) | Sets the height of the form field for this attribute. PhixFlow will create the form field with a default height - you only need to specify a value in this field if the height you want is different from this default. | ||||||||
Width On Form (pixels) | Sets the width of the form field for this attribute. PhixFlow will create the form field with a default width - you only need to specify a value in this field if the width you want is different from this default. | ||||||||
Multiline on Form |
| ||||||||
Selection View Attribute | This sets the drop-down list from which the user can pick a value. Drag the stream view attribute that you want to use for the drop-down list into this field. You must tick Show the drop-down button to display the drop-down. When a user is entering or updating data using a form view, you can use the internal variable _form to use a value already entered in the form in the filter on a selection view. That is, the values that appear in a drop-down list will be governed by values they have entered so far in the form. See Configuring Pivot Details on the View below, for an example of configuring how to configure selection view attributes. If another stream view attribute has a Selection View Attribute set and has Show the drop-down button set to yes, then it is possible to set the current stream view attribute from the same selection view without a further drop-down list. Drag the stream view attribute that you want to use to set this stream view attribute into this field. Drag the attribute out of the field to delete the contents of the Selection View Attribute. | ||||||||
Show the drop-down button |
Formatting Rules
These settings are only available for view attributes for grid and pivot views. For details of formatting rule properties, see see see Formatting Rule.
A list of the formatting rules that apply to this field in the view.
All formatting rules whose Rule Expression evaluates to true will be applied to the field in the grid. However, you can tick Stop if True so that, if a rule evaluates to true, no styles that follow this in the list of rules will be applied - regardless of the result of their Rule Expression.