How to export img in CSV file in data table

How to export img in CSV file in data table

AcquaAcqua Posts: 4Questions: 0Answers: 0
edited March 2013 in DataTables 1.9
I have images in one column on my datatable that represent certain business logic.For ex : red dot might indicate the record is due in 2 days,pink dot indicates that rec is due in 10 days and so on .

Export to csv doesn't pull the img.
Is it possible to include img in csv,if not is it possible to replace img with text during export.

Am new to datables, the question might have been answered previously but couldn't find answer.
I apprecite your help on this.

Thx
Acqerie

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You would need to use fnCellRender ( http://datatables.net/extras/tabletools/button_options#fnCellRender ) since TableTools, by default, strips the HTML.

    Allan
  • AcquaAcqua Posts: 4Questions: 0Answers: 0
    Thx Allan.It worked
This discussion has been closed.