Comments (6)
有销毁场景时,参考以下方式:
- 原生模式: 调用GridManager.destroy(table);
- 框架模式: 通过框架自带条件进行组件移除,如vue的 v-if
from gridmanager.
单页面模式中,外层框架直接把表格所在的区域覆盖了
使用GridManager.destroy(table)之后覆盖DOM也会报错
看起来是个timeout处理函数,不受destroy控制
from gridmanager.
你可以发一下引用及销毁的方式
from gridmanager.
你可以发一下引用及销毁的方式
这还真不太好提取,就是用$('container').html('newHtml')
把表格所在的父标签整个都覆盖了(相当于换了子页面,非iframe),然后再GridManager.destroy(table)并重新创建表格
时就会报上述错误,虽然不影响使用,但是QA流程上要求不能有报错,强迫症也很难受
from gridmanager.
覆盖前执行destroy
from gridmanager.
destroy
可是加载页面是上级组件,它并不知道这里面有个table需要destroy
from gridmanager.
Related Issues (20)
- 树形表格 HOT 1
- 列隐藏的数据点击后展开 HOT 4
- 有复杂表头时不能拖动改变列宽 HOT 2
- 列属性isShow=false时只隐藏了表头的所在列 HOT 3
- 渲染过程中的loading效果 HOT 1
- 开启useCellFocus属性 HOT 1
- 统计合并 HOT 2
- 虚拟滚动白屏 HOT 5
- 虚拟滚动cellHover功能返回提示错位 HOT 1
- 超宽表(col>500)的性能问题 HOT 2
- 希望增加 afterRender 事件,或修复 ajaxSuccess 隐藏列与右键设置里的列不一致bug HOT 4
- 被固定的列(例如 checkbox 列,固定在左侧), 可以支持配置显示状态吗 HOT 1
- vue3 HOT 1
- 关于angularjs引入GridManager报错的问题请教。且readme留的二维码已经失效了。 HOT 12
- 树形结构 子节点勾选 HOT 3
- 表格responseHandler触发时间能否在columnData配置项前触发 HOT 1
- 大哥,横向的虚拟滚动也加一下把!
- Vue中,调用renderGrid动态对表头渲染,嵌套表头只会显示一半,该如何解决
- ReferenceError: Can't find variable: NESTED_CODE_TYPE_MAP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gridmanager.