I have setup MIGx and within it im calling a TV (AllSeminarsList) with a select binding
@SELECT pagetitle, id FROM site_content WHERE parent=21
My Form Tabs looks like this
[
{"caption":"Conference Timetable", "fields": [
{"field":"time","caption":"Time","inputTV":"KeyNoteTime"},
{"field":"seminar","caption":"Seminar","inputTV":"AllSeminarsList"},
{"field":"speakers","caption":"Speakers","inputTV":"AllSpeakersList"}
]}
]
My Grid Columns code looks like this
[
{"header": "Time", "width": "160", "sortable": "false", "dataIndex": "time"},
{"header": "Seminar", "width": "500", "sortable": "false", "dataIndex": "seminar"},
{"header": "Speakers", "width": "500", "sortable": "false", "dataIndex": "speakers"}
]
When running MIGx the Speaker and Seminar lists populate fine however once saving and returning back to the Grid Columns view the columns only show the id of the chosen resource and not the pagetitle.
Am I executing my SELECT call wrong? How do I force the pagetitle to display instead of the id.
It must also be noted that when displaying the MIGX call on the frontend using getImageList call it works perfectly. this is just how I can improve the user experience for the client
Many thanks!