search

Home  >  Q&A  >  body text

javascript - How to set the width of the header in JAVA background

1. How to set the width of the table header in the JAVA background. The code is as follows:


#2. The exported header column width is too small, please ask someone to solve it.

高洛峰高洛峰2749 days ago559

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-05-17 10:00:22

    sheet.setColumnWidth(number of columns, number of characters * 256); Change 256 to 512 for Chinese (2 characters for Chinese)

    reply
    0
  • Cancelreply