本文介绍了extjs scroll的网格停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了几天时间处理有关网格垂直滚动的问题。卷轴只是在一些未知的条件下停止工作,我的意思是,这不是确定性的。



我的应用程序有很多网格,其中大多数都完美地工作,但只是其中一些只是不要。



我发现这个描述了我目前的同样的问题,但是迁移到较新的版本不是我的解决方案,因为在这之后(是的,我做了它,但回滚了)我发现更多的问题,这是有风险的放弃给定应用程序将在几天内生产。



有人有解决方案,补丁,黑客或任何解决方法这个问题?



我们正在使用extjs 4.0.7。

解决方案

尝试使用:

  grid.reconfigure(store,null); 

其中:





  • 存储:这是原始商店。


  • null:'new'列的值。




=http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.panel.Table-method-reconfigure =nofollow>在Sencha Api 4.0.7上重新配置功能


I´ve spent a couple of days dealing with an issue about grids' vertical scroll. Scrolls just stop working under some unknown conditions, I mean, it is not deterministic I think.

My application has lots of grids and most of them work perfectly always but just a couple of them just don´t.

I found this Extjs Grid scroll dons't work after application running while that describes the same problem that I have currently, however a migration to a newer version is not the solution for me because after do it (yes, I did it but rolled it back) I found more problems that it is risky enough to discard given the applications is going to production in a few days.

Does someone have a solution, patch, hack or whatever to workaround this problem?

We are using extjs 4.0.7.

解决方案

Try to using:

 grid.reconfigure(store,null);

Where:

  • grid: Grid that is modify.

  • Store: it's the original store.

  • null: value for 'new' columns.

See the comment too: reconfigure function on Sencha Api 4.0.7

这篇关于extjs scroll的网格停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 15:38