Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] 宽度配置会设置到右侧的列上 #32

Open
vaynevayne opened this issue Nov 29, 2023 · 0 comments
Open

[bug] 宽度配置会设置到右侧的列上 #32

vaynevayne opened this issue Nov 29, 2023 · 0 comments

Comments

@vaynevayne
Copy link

vaynevayne commented Nov 29, 2023

宽度应用错误:

   excel
        .drawCell(0, excel.currentRow, {
          hMerge: 17,
          vMerge: 1,
          value: gameName,
          style: {
            border: true,
            bold: true,
            v: 'center',
            h: 'center',
          },
        })

第一个表宽度应用正确, 但是后面的表宽度布局又错位了, 而且布局也不是需要的

     excel.addRow()
      excel.addCol()
      excel
        .drawCell(0, excel.currentRow, {
          hMerge: 17,
          vMerge: 1,
          value: gameName,
          style: {
            border: true,
            bold: true,
            v: 'center',
            h: 'center',
          },
        })

https://eddieup.github.io/antd-table-saveas-excel/4examples#%E8%87%AA%E5%AE%9A%E4%B9%89%E5%8D%95%E5%85%83%E6%A0%BC%E6%B8%B2%E6%9F%93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant