Changes

Jump to: navigation, search

Custom Field Type: Special - Advanced Data Table

12 bytes removed, 19:16, 8 December 2016
no edit summary
[[File:xml-sectionbuilder.png|The section builder|500px|border]]
Use the XML '''Section Builder''' to create sections, define your rows (including the number of rows and columns displayed), columns, 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'''.
# Click '''Save'''.
=== Create XML with dynamic number of rows ===
In '''Using XMLs Section Builder''' above, we saw how you create a static XML (XML with a defined number of rows). You can choose to let the user define the number of rows they will get. You do this by entering '''0''' for the number of rows. When you enter '''0''' for number of rows the user will get a plus button where they can choose to add as many rows as they need.
 
[[File:xmlDynamic.png|The dynamic XML|500px|border]]
Note even though you set the number of rows to '''0''' you still need to configure one row of data which will be used to format the dynamically created rows. You may also set a maximum number of rows for a dynamic XML section.
In '''Using XMLs Section Builder''' above, we saw how you create a static XML (XML with a defined number of rows). You can choose to let the user define the number of rows they will get. You do this by entering '''0''' for the number of rows. When you enter '''0''' for number of rows the user will get a plus button where they can choose to add as many rows as they need. 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. Note even though you set the number of rows to '''0''' you still need to configure one row of data which will be used to format the dynamically created rows. You may also set a maximum number of rows for a dynamic XML section.
=== Display XML sections ===
Smartstaff, administrator
4,478
edits

Navigation menu