Hi halftrainedharry,
thanx for thinking with me on this problem.
Here’s my config:
{
"formtabs":[
{
"MIGX_id":10,
"caption":"Knop",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":49,
"field":"resource_id",
"caption":"resource_id",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
},
{
"MIGX_id":50,
"field":"waarde",
"caption":"waarde",
"pos":2
},
{
"MIGX_id":51,
"field":"knop",
"caption":"knop",
"pos":3
},
{
"MIGX_id":52,
"field":"verklaar",
"caption":"verklaar",
"pos":4
}
],
"pos":1
}
],
"contextmenus":"update||remove",
"actionbuttons":"addItem",
"columnbuttons":"update||remove",
"filters":[
{
"MIGX_id":1,
"name":"pagina",
"label":"Pagina",
"emptytext":"Pagina",
"type":"textbox",
"getlistwhere":{
"resource_id":"[[+pagina]]"
},
"getcomboprocessor":"",
"combotextfield":"",
"comboidfield":"",
"combowhere":"",
"comboclassname":"",
"combopackagename":"",
"combo_use_custom_prefix":"0",
"comboprefix":"",
"combojoins":"",
"comboparent":"",
"default":""
}
],
"extended":{
"migx_add":"Knop toevoegen",
"disable_add_item":"",
"add_items_directly":"",
"formcaption":"Knop opties",
"update_win_title":"Knop opties",
"win_id":"",
"maxRecords":"",
"addNewItemAt":"bottom",
"media_source_id":"",
"multiple_formtabs":"",
"multiple_formtabs_label":"",
"multiple_formtabs_field":"",
"multiple_formtabs_optionstext":"",
"multiple_formtabs_optionsvalue":"",
"actionbuttonsperrow":4,
"winbuttonslist":"",
"extrahandlers":"",
"filtersperrow":1,
"packageName":"Organisatie",
"classname":"StemOpties",
"task":"",
"getlistsort":"waarde",
"getlistsortdir":"ASC",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"no",
"getlistwhere":{
"resource_id":"[[*id]]"
},
"joins":"",
"hooksnippets":"",
"cmpmaincaption":"Stemknoppen",
"cmptabcaption":"Stemknoppen",
"cmptabdescription":"De knoppen voor het stemmen; 0 = Neutraal",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"permissions":{
"apiaccess":"",
"view":"",
"list":"",
"save":"",
"create":"",
"remove":"",
"delete":"",
"publish":"",
"unpublish":"",
"viewdeleted":"",
"viewunpublished":""
},
"fieldpermissions":"",
"columns":[
{
"MIGX_id":1,
"header":"ID",
"dataIndex":"id",
"width":"",
"sortable":"false",
"show_in_grid":"0",
"customrenderer":"",
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
},
{
"MIGX_id":6,
"header":"resource_id",
"dataIndex":"resource_id",
"width":25,
"sortable":true,
"show_in_grid":1,
"customrenderer":"",
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
},
{
"MIGX_id":8,
"dataIndex":"waarde",
"header":"waarde"
},
{
"MIGX_id":5,
"dataIndex":"knop",
"header":"knop"
},
{
"MIGX_id":7,
"dataIndex":"verklaar",
"header":"verklaar"
}
],
"category":""
}
The strange thing is that everything functions as it should in snippets, CMP etc. etc. The only thing i can not get working is showing the table with only associated resource on the (current) resource via a TV…