Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

列少时调整列宽features.columnResize,onChangeSizes中返回sizes的值不是真实宽度 #315

Open
miracleDD opened this issue Jun 20, 2022 · 0 comments

Comments

@miracleDD
Copy link

miracleDD commented Jun 20, 2022

前提:表格宽度为500px,一共有两列数据,defaultColumnWidth为150;通过features.columnResize调整第一列列宽时:

  1. onChangeSizes中返回的sizes始终为[60~1000, 150],与实际不符;
  2. 当设置 features.columnResize中的minSize为150时,即使第一列宽度实际是大于150,也无法向左拖拽调整;

https://codesandbox.io/s/competent-cookies-9bj9qh

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

No branches or pull requests

1 participant