Comments (4)
感谢你的建议,我会尽快的进行评估,如果可行的话会提供相应的事件函数。
from gridmanager.
关于这个问题,可能不需要使用新的事件函数就可以解决。
有两个更新数据的方法refreshGrid
和setQuery
, 在触发数据更新时,可通过传递回调函数来处理你所遇到的问题,如:
GM.setQuery('test', {}, false, (res) => {
// 此时,渲染已经完成
// res 是接渲染时使用的数据
})
from gridmanager.
Get!确实也是一种解决方法,只不过使用起来有些绕,需要先创建空白表格,再调用内置函数去加载数据,如果能在创建时就提供回调会更简单明了,仅个人建议~
from gridmanager.
建议在初始化时增加firstLoading: false
参数, 这种模式将数据的渲染触发交给了使用者。使用者在合适的地方再调用渲染方法,如setQuery
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
- 覆盖或销毁表格所在的DOM后报错 HOT 6
- 被固定的列(例如 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.