mesour / DataGrid

Mesour DataGrid for Nette with options like to dump tree, inline edit, export to csv, create sub grids and sub items, sort data using jQuery.ui.nestedSortable and much more

Home Page:http://grid.mesour.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strip html tags when exporting

juniwalk opened this issue · comments

Is there a way to remove HTML tags from CSV when exporting?

I have custom callback for one of my column, I add bootstraps .label component to it, but when I export the table, the HTML of .label is there too, this should be striped.

Best way would be to have this configurable, either globally or per column. Maybe another callback method to format output for export?

Added strip_tags for export values.