blank column in excel export (ajax result)

blank column in excel export (ajax result)

djevoluciondjevolucion Posts: 1Questions: 1Answers: 0

I did as recommended in the following link.

https://datatables.net/forums/discussion/35378/how-do-i-put-an-ajax-result-in-the-render-section-of-a-column

It works fine but when exporting to excel the column is blank.

Any suggestion?

Answers

  • kthorngrenkthorngren Posts: 21,344Questions: 26Answers: 4,954

    Its not recommended to use an ajax call in columns.render. This will result in an ajax request for each cell in the column while rendering the table. Not very efficient. Can you add the data for that column in your server script?

    To answer your question it looks like you need to use Orthogonal data like this export example.

    Kevin

Sign In or Register to comment.