[
{"caption":"Text", "fields":
[
{"field":"title","caption":"Title"}
,{"field":"description","caption":"Content","inputTVtype":"richtext"}
]
}
][
{"header": "Title", "width": "50", "sortable": "true", "dataIndex": "title"}
,{"header": "Text Content", "width": "100", "sortable": "true", "dataIndex": "description"}
]
This question has been answered by Bruno17. See the first response.
[[+description:striptags]]
You could use a chunk-renderer for this column.
Create one renderOption for this renderer and set the name-field in that renderOption to a chunk name.
In this chunk you can format the output of the column, for example:
[[+description:striptags]]
you need to use another fieldname, something which isn't used for any field for columns with the renderChunk - renderer, otherwise it will save the rendered value to that field.
,{"MIGX_id":"3"
,"header":"Content"
,"dataIndex":"description"
,"width":"50"
,"sortable":"false"
,"show_in_grid":"1"
,"customrenderer":""
,"renderer":"this.renderChunk"
,"clickaction":""
,"selectorconfig":""
,"renderchunktpl":"[[+description:striptags]]"
,"renderoptions":""
,"editor":""}
,{"MIGX_id":"3"
,"header":"Content"
,"dataIndex":"render_my_description"
,"width":"50"
,"sortable":"false"
,"show_in_grid":"1"
,"customrenderer":""
,"renderer":"this.renderChunk"
,"clickaction":""
,"selectorconfig":""
,"renderchunktpl":"[[+description:striptags]]"
,"renderoptions":""
,"editor":""}
,{"MIGX_id":"3" ,"header":"Content" ,"dataIndex":"render_my_description" ,"width":"50" ,"sortable":"false" ,"show_in_grid":"1" ,"customrenderer":"" ,"renderer":"this.renderChunk" ,"clickaction":"" ,"selectorconfig":"" ,"renderchunktpl":"[[+description:striptags]]" ,"renderoptions":"" ,"editor":""}
,{"MIGX_id":"3" ,"header":"Content" ,"dataIndex":"render_my_description" ,"width":"50" ,"sortable":"false" ,"show_in_grid":"1" ,"customrenderer":"" ,"renderer":"this.renderChunk" ,"clickaction":"" ,"selectorconfig":"" ,"renderchunktpl":"[[+description:striptags]]" ,"renderoptions":"" ,"editor":""}