How to export Excel data excluding hidden rows.

How to export Excel data excluding hidden rows.

jhjhjhjh Posts: 10Questions: 5Answers: 0

Hi all, I hid the row value while using the data table.
When I output the Excel file, the hidden row value is also output, but if I hide the row, can I know how to hide the data in Excel?

You can't see the button in Codepen, but please check rowCallback.
codepen: https://codepen.io/jhjh00020/pen/eYGZLLq

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,151Questions: 1Answers: 2,587
    Answer ✓

    You can use rows in exportOptions as a function, to determine what rows will be exported - something like this,

    Colin

  • jhjhjhjh Posts: 10Questions: 5Answers: 0

    Thank you always. Have a happy day.

Sign In or Register to comment.