Evoke Column Headers and Footers

Data Grids in Evoke can have column headers and footers. These are turned on in the "General Settings" of a Multi Entity Template for multi entity Data Sources.
Please see example image right.
Headers
If the "show column headers" checkbox is not ticked then in the WYSIWYG design in Evoke shows the headers as "greyed out".
If the "show column headers" checkbox is ticked then each column will have a header as defined in the General Details section against the Property in the Template. An example of column headings appears below.

Footers
Column footers allow you to automatically add a footer at the bottom of a data grids that can display totals, averages or other calculations of the data in the data grid.
If the "show column footers" checkbox is ticked then each Property in the Template will have a new set of configuration options between the General Details and the Editor Specific settings, called "Column Footer Details".
See example screen on the right.
In this new section there is the option "show footer cell" - when checked this will add a footer to this column and display multiple new configuration options.


The new "Column Footer details" configuration options are show in the example on the left and are:

Value Datasource - usually the datasource bound to the datagrid

Apply a calculation - checked if you would like Evoke to automatically calculate the value in the column footer

Calculation Type - Either a calculation e.g. sum, average, etc., these are as described in Calculated Properties or Static Text. If Static text is selected from the dropdown list then text can be added instead of a calculation e.g. "Totals" etc.

Calculation Source Property - If a calculation is selected in Calculation Type above. The name of the property used in the calculation - defaults to the property in the column.

Static Text Value - If Static Text is selected in Calculation Type above. This property holds the Static text you want to be displayed in the column.

Apply a calculation - checked if you would like Evoke to automatically calculate the value in the column footer

Border style - choices are: none, top, top and bottom

Background Colour - select a separate colour for the background in the footer data box

Text Colour - select a separate colour for the text in the footer data box




Below is an example of using footer text in a column