How to export thead without html?

How to export thead without html?

yurenlimbuyurenlimbu Posts: 5Questions: 2Answers: 0
edited July 8 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: 6,245Questions: 0Answers: 1,073

    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: 5Questions: 2Answers: 0
    edited July 10

    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: 6,522Questions: 22Answers: 1,424
    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: 5Questions: 2Answers: 0

    Hello, @colin,

    Thank you for your help.

  • yurenlimbuyurenlimbu Posts: 5Questions: 2Answers: 0

    Thank you for your help @kthorngren .

Sign In or Register to comment.