Export to excel with customize size column

Export to excel with customize size column

ivanjuliantivanjuliant Posts: 4Questions: 1Answers: 0

Hi, i have some trouble and i trying to searching but not give me a solution
Is possible to set width column in datatables ?
Please tell me if anyone know about this.

Answers

  • allanallan Posts: 62,315Questions: 1Answers: 10,225 Site admin

    Yes it is possible. You need to use the customize callback of the excelHtml5 button type to modify the width attribute of the header cells. This is the code that Buttons uses to calculate the width it sets.

    Allan

  • ivanjuliantivanjuliant Posts: 4Questions: 1Answers: 0
    edited January 2018

    thanks alot ~

This discussion has been closed.