Exporting displayed data by fnGetTableData

Exporting displayed data by fnGetTableData

norglawnorglaw Posts: 9Questions: 0Answers: 0
edited June 2012 in TableTools
Hi,

fnGetTableData is a great function, it works pretty well with column and row filtering.
However, a fnRender on the column is not taken into account.
For instance, I display region labels in the table via fnRender because the data sent to the page are identifiers. But when I export the data with fnGetTableData, I get the identifiers instead of labels.

Thx.

Replies

  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    Are you setting bUseRendered by any chance? fnRender's result should be what is used by TableTools, unless bUseRendered is false.

    Allan
  • norglawnorglaw Posts: 9Questions: 0Answers: 0
    Thx for your quick answer.
    I set bUseRendered on false, unless the select column filter (I use the plugin jquery.dataTables.columnFilter.js) does not work.

    Alban
This discussion has been closed.