-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smartgrid #782
Comments
初始化之后会有别的方法计算toggle的情况然后调整宽度,第二个没太看懂。。。原本隐藏的smartgrid是什么意思,通过什么方式隐藏的? |
第一个我再试下,第二个当然也可以通过其他方式解决,简单点来说就是有2个tab选项卡 每个选项卡里有一个smartgrid.页面进入。我对2个smartgrid.都直接绑定了数据render,当切换到第二个就会错乱,因为拿不到隐藏父容器的宽度。当然可以在tab切换的时候在去render. |
嗯第一个我大概两星期前改过一版,所有没有手动设置宽度的列都会自动调整宽度,并且考虑toggle |
刚试了下 avalon.smartgrid.ex1.html。 |
已经修复了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
提个建议吧,perfectColumns方法中宽度计算应该考虑到toggle情况吧,另百分比个人觉得还是不要换算成px了吧。不然对于原本隐藏的smartgrid是无法获取avalon(options.container.parentNode).width的。
The text was updated successfully, but these errors were encountered: