Export without the hidden column

Export without the hidden column

sohmwaresohmware Posts: 7Questions: 3Answers: 0

Hello
when I use the export feature, is it possible to avoid the export of the hidden column ?
(maybe it is possible to export it programmatically)

Answers

  • sohmwaresohmware Posts: 7Questions: 3Answers: 0

    i found a solution browsing sorry for the disturbing

            buttons: [
                {
                    extend: 'excel',
                    text: 'Excel',
                    exportOptions: {
                        columns: [ ':visible' ]
                    }
                }
            ]
    
  • badbytebadbyte Posts: 33Questions: 7Answers: 0
    edited July 2019

    I don't know how you export your data from the table but if it is via button click then checkout this link where you can extract the raw data of the table and preprocess that before sending to the server.

    It is an alternative.

This discussion has been closed.