Changes

Jump to: navigation, search

Custom Field Type: Special - Advanced Data Table

7 bytes added, 03:25, 6 December 2016
Using XMLs Section Builder to create dynamic XMLs
Note: Do not use the same node names across different sections, rows or columns in the xml.
=== Using XMLs Section Builder to create dynamic XMLs ===
[[File:xml-dynamic.png|The dynamic XML|500px]]
In '''Using XMLs Section Builder''' above, we saw how you create a static XML (A 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.
 
=== Creating a XSL template for XML ===
[[File:xml-xsl.png|The XSL template]]
Smartstaff, administrator
3,316
edits

Navigation menu