Changes

Custom Field Type: Special - Advanced Data Table

299 bytes added, 19:46, 8 December 2016
no edit summary
=== Create XML with defined number of rows ===
Use the XML '''Section Builder''' to create sections, including defining the number of rows and columns displayed, formulas, and style your XML. Note you must manually enable the '''Section Builder''' before you can use it.
 
[[File:xml-sectionbuilder.png|The section builder|500px|border]]
Use the XML '''Section Builder''' to create sections, including the number of rows and columns displayed, formulas, and style your XML. Note you must manually enable the '''Section Builder''' before you can use it.
# Scroll down to the '''Options''' section and check '''Enable Builder'''.
=== Create XML with dynamic number of rows ===
The XML section builder can also be configured to allow the user to add additional rows of data using a plus button.
 
[[File:xmlDynamic.png|The dynamic XML|500px|border]]
You can choose to let the user define the number of rows they will get. You do this The is configured by entering '''0''' for the number of rows. When you enter , which in turn exposes the following configuration options: * '''Maximum Number of Rows''': if the '''Maximum Number of Rows'''option is left as 0then the user can add as many rows as needed. If the ''' for number Maximum Number of rows Rows''' option is populated with a numeric value then the user will get a plus button where they can choose to only add as many rows as they needspecified. * '''Maximum Reached Message''': message to be displayed if user tries to add more that the specific maximum number of rows,
Even though you set the number of rows is set to '''0''' you still need to configure one row of data which will still needs to be used configured, to format the dynamically created rows. You may also set a maximum number of rows for a dynamic XML section.
When creating a dynamic XML if you click into any column header, you will notice a property called '''Has Total'''. Check '''Has Total''' if you want to automatically sum and display all the items in that column.
 
=== Display XML sections ===
The XML Data custom field has an XSL Template option within the overall XML Data custom field settings. The XSL Template is used to define how the XML will be displayed. XSL stands for Extensible Style Sheet Language.
The XSL Template includes a sample template option. If the template is used then all that is left to do is to specify what sections should appear and where they should appear on the.
[[File:xml-xsl.png|The XSL template|500px|border]]
Smartstaff, administrator
4,478
edits