Export data from datatable with select element exports each option from the select element

前端 未结 3 1256
遇见更好的自我
遇见更好的自我 2021-01-01 00:40

I am try to add export buttons to my datatable, my table include select boxes inside, the problem is - it export all the options values included in the select box... A am us

3条回答
  •  感情败类
    2021-01-01 00:49

    Use exportOptions'format.body callback to get control over the exported data. Use the dataTables API to find the current selected value for each boxes (I dont know that).

提交回复
热议问题