data-mapping-component
data-mapping-component copied to clipboard
A React Component which focus on Data-Mapping & Table-Field-Mapping.(基于React的数据/表字段映射组件)
source 和 target 更新的时候,我使用的是状态存储的,偶尔会出现这样的错误 具体代码是这里 `if (newFields && newField.disable !== oldField.disable) `  
连线不能删除?
比如source有2列数据id, name。但是target有4列id, name, desc, type。 另外,连好线后,如何把结果保存到mappingData里呢?谢谢
can we get as Tree Mapper like https://gojs.net/latest/samples/treeMapper.html
updated to latest react version and some other dependencies - so far possible. Please test it also, with node 16.13.1 & npm 8.1.2 it was working well. I'm not sure...
It could be helpful if someone translate the code (inside) and examples (mock-data) to english. 🥇
字段可编辑能力
 1. 单字段编辑:用户点字段名,展示成编辑态,编辑的形式有Input、Select 2. 批量编辑:可能可以在右上角提供一个批量编辑按钮,跳出一个对话框,可批量的json文本编辑字段,例如: ``` [ {name: "字段1", type:"field1"}, {name: "字段2", type:"field2"} ] ```
能否支持 "添加" 按钮,点击后,让用户输入新的一笔数据 