[ {"caption":"Spell Section", "fields": [ {"field":"section-name","caption":"Section Name"}, {"field":"spell-box-list","caption":"Spell Boxes","inputTV":"guideSpellBox"} ]} ]
[ {"header": "Section Name", "width": "160", "sortable": "true", "dataIndex": "section-name"} ]
[ {"caption":"Spell Box", "fields": [ {"field":"spell-name","caption":"Spell Name"}, {"field":"spell-anchor","caption":"Spell Anchor Name"}, ]} ]
[ {"header": "Spell Icon", "width": "50", "sortable": "false", "dataIndex": "spell-icon","renderer": "this.renderImage"}, {"header": "Spell Name", "width": "160", "sortable": "true", "dataIndex": "spell-name"} ]
This question has been answered by firebot6. See the first response.
[[!migxLoopCollection? &packageName=`databaseSpells` &classname=`databaseSpells` &sortConfig=`[{"sortby":"name","sortdir":"ASC"}]` &where=`{"published":"1","category":"Main Spell"}` &tpl=`databaseSpellGroupSectionTpl`]]
&where=`{"published":"1","category":"Main Spell"}`