I am having trouble setting up a MIGXdb which has a MIGX TV as a field.
My fields are:
ID Fieldname Caption InputTV
1 name Name
2 price Price
3 options Options productOptionsTV
The productOptionsTV is setup like so:
{"caption":"Product Options", "fields": [
{"field":"optionTitle","caption":"Title"},
{"field":"optionPrice","caption":"Price"}
]}
[
{"header": "Title", "width": "160", "sortable": "true", "dataIndex": "optionTitle"},
{"header": "Price", "width": "50", "sortable": "false", "dataIndex": "optionPrice"}
]
When I try to create a new record the column headers appear where you would expect when adding migx records but when the modal window open there are no fields displayed.
I have tried digging through firebug to compare migx that works but I can see no difference.
action mgr/fields
autoinc 0
class_key modDocument
co_id new
configs
isnew 1
itemid 0
record_json [{"optionTitle":"","optionPrice":""}]
resource_id 1
tv_id 993
tv_name productOptionsTV
wctx web
I thought it might by the tv_id but other migx that I have seen, seem to work so I assume this is an extjs identifier.
Help would be much appreciated.