Images in datatable

Images in datatable

agauragaur Posts: 1Questions: 0Answers: 0
edited July 2012 in General
I am using table tools to export the data from the datatable. In some of the cells of the datatable I have added images. But when I export the data those cell are coming as empty string. Any help?

Replies

  • allanallan Posts: 63,541Questions: 1Answers: 10,476 Site admin
    Currently TableTools cannot export images. By default it will strip HTML which is why you are getting empty strings there, but if you supply your own fnCellRender method ( http://datatables.net/extras/tabletools/button_options#fnCellRender ) you can override this behaviour and have it export the ALT text or whatever.

    Allan
This discussion has been closed.