You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
我只搜到了 #1111 ,提问的是覆盖宽度。请问如何像 AntD 普通 Table 组件一样,使用 Formily + JSON Schema + react-resizable 来支持宽度拖拽?
AntD Table 组件版拖拽示例:https://stackblitz.com/edit/react-fse23i?file=index.js
但是我在 schemaCreator 里的 schema json 中,在 ArrayTable 的 props 上加入同样的 components key,并在想要拖拽改变宽度的 col 列上加入 onHeaderCell key 后,并没有生效,JSON Schema 代码如下:
纯 AntD Table 组件被 react-resizable 影响成功的列,会在 th 下植入 class 为 react-resizable-handle 的 span。
但是 JSON Schema 写了后并没有被影响成功。
Beta Was this translation helpful? Give feedback.
All reactions