mData for mapping DOM Table vs JSON due to tool generated tables having additional info in

mData for mapping DOM Table vs JSON due to tool generated tables having additional info in

pgrazaitispgrazaitis Posts: 1Questions: 0Answers: 0
edited August 2012 in DataTables 1.9
We have the scenario where each TD includes a label, which appears to do nothing visually and is the value of the header column, and then the span which is the actual content of that field. The issue with this is that the export's end up creating a field for the label value, as well as the span value. Is there anyway to specify some XPath or other method to isolate the actual data to pull?



Name

TestAsset

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Exports as in the files created by TableTools, or something else? If TableTools, then you can use http://datatables.net/extras/tabletools/button_options#fnCellRender to manipulate the string before it is exported.

    Allan
This discussion has been closed.