How to export thead without html?

How to export thead without html?

yurenlimbuyurenlimbu Posts: 8Questions: 3Answers: 0
edited July 2019 in Free community support

I'm trying to column search feature on thead. Working fine but when I tried to export, it export with HTML tags. Here is the example https://codepen.io/yurenlimbu/pen/Pryeow?editors=1011. How to fixed it?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    Hi @yurenlimbu ,

    I just tried the PDF and CSV export types, and neither of those contained any HTML tags. Can you give steps on how to reproduce the issue, please.

    Cheers,

    Colin

  • yurenlimbuyurenlimbu Posts: 8Questions: 3Answers: 0
    edited July 2019

    Hello @colin,
    Thanks for your reply.

    Sorry for unclear message. I want to export without select option data. When I export PDF, CSV etc. It export with option data which I don't want.

  • kthorngrenkthorngren Posts: 20,144Questions: 26Answers: 4,736
    Answer ✓

    The best option is to create two header rows. One contains the search option and the other contains the thead name and sorting function. Use orderCellsTop to define which row contains the name and sorting. This is the header that will be exported.

    Kevin

  • yurenlimbuyurenlimbu Posts: 8Questions: 3Answers: 0

    Hello, @colin,

    Thank you for your help.

  • yurenlimbuyurenlimbu Posts: 8Questions: 3Answers: 0

    Thank you for your help @kthorngren .

This discussion has been closed.