SlickGrid 列标题与正文不同步
我尝试过的保持列标题与正文同步的正确方法是什么
(http://jsfiddle.net/wLPLA /4/)并得到:
如果列数等于150
标题行的单元格呈现错误 - 行尾扭曲
如果列数等于200
,则 标题行被换行
有什么问题吗?有人遇到同样的问题吗?有什么解决办法吗?
What is the right way to keep column header in sync with body
I have tried (http://jsfiddle.net/wLPLA/4/) and got:
if number of columns is equal to 150
the cells of header row rendered wrong -- distorted at the end of row
If number of columns is equal to 200
the header row got wrapped
What is wrong? Has anybody got the same problem? Any fix?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来问题是因为 slick.grid.js:212 中的这一行
尝试将宽度从 10000px 更改为 20000px。我有一个这里正在工作的jsfiddle。
It sounds like the problem is because of this line in slick.grid.js:212
try changing the width from 10000px to 20000px. I have a working jsfiddle here.