I'm trying to show the 'edit' button on a row in my migx tv. I've checked the 'edit_migx' columnbutton and set the renderer to renderRowActions for one of the columns. I also added MIGX_id as a column. Problem is I don't see a button at all. When I choose 'update' instead of 'edit_migx' I do see a button, but this button isn't working. The contextmenu for edit_migx DOES work.
{
"formtabs":[
{
"MIGX_id":3,
"caption":"Uitgelicht",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":7,
"field":"titel",
"caption":"Titel",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
},
{
"MIGX_id":8,
"field":"content",
"caption":"Inhoud",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"richtext",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":2
},
{
"MIGX_id":11,
"field":"links_subsites",
"caption":"Links subsites",
"description":"",
"description_is_code":"0",
"inputTV":"migx_subsites",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":3
}
],
"pos":1
}
],
"contextmenus":"edit_migx",
"actionbuttons":"",
"columnbuttons":"edit_migx",
"filters":"",
"extended":{
"migx_add":"Voeg blokje toe",
"disable_add_item":"",
"add_items_directly":"",
"formcaption":"Uitgelicht",
"update_win_title":"Uitgelicht",
"win_id":"blokje_uitgelicht_homepage",
"maxRecords":1,
"addNewItemAt":"bottom",
"multiple_formtabs":"",
"multiple_formtabs_label":"",
"multiple_formtabs_field":"",
"multiple_formtabs_optionstext":"",
"multiple_formtabs_optionsvalue":"",
"actionbuttonsperrow":4,
"winbuttonslist":"",
"extrahandlers":"",
"filtersperrow":4,
"packageName":"",
"classname":"",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"hooksnippets":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":[
{
"MIGX_id":3,
"header":"ID",
"dataIndex":"MIGX_id",
"width":10,
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
},
{
"MIGX_id":1,
"header":"Titel",
"dataIndex":"titel",
"width":100,
"sortable":"false",
"show_in_grid":1,
"renderer":"this.renderRowActions",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
},
{
"MIGX_id":2,
"header":"Inhoud",
"dataIndex":"content",
"width":100,
"sortable":"false",
"show_in_grid":1,
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
}
]
}
Thanks for any help!