Hi Modx Community,
As the title says, i have a listbox field inside my migx var. The formtabs look like this:
...
{
"field":"category",
"caption":"Kategorie",
"inputTVtype":"listbox",
"inputOptionValues":"@EVAL return $modx->runSnippet('getListEntries');"
}
...
As you can see above, I use a snipped to render the options of another migx var. Now I want to see the Options "lable" in my Grid columns, not the value, which is the id. I tried to invoke a snipped inside the grid columns but didnt came far. It was never invoked.
The grid columns:
{
"header": "category",
"width": "50",
"sortable": "true",
"dataIndex":"category",
"renderer":"this.renderChunk",
"renderoptions": {
"name": "[[$tpl_categoryid_to_name]]"
}
}
Anyone who can help me with that?