`
kanpiaoxue
  • 浏览: 1745077 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

about easyui datagrid load twice

 
阅读更多

 about easyui datagrid in 1.4v load twice

 

easyui datagrid 加载数据的时候总是加载2次,这是它的一个BUG。

解决方案如下:

http://www.jeasyui.com/forum/index.php?topic=3720.0

原文 写道
Quote from: stworthy on September 03, 2014, 02:05:18 AM
Make sure you are using the newest patch. Please try to download it from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4-patch.zip.

ok, using jquery-easyui-1.4-patch.js version 20140903 .it's fixed . thanks for your help stworthy and thank you 【aswzen】。

 我在本文的附件中也放了这个补丁的js。

我使用的方式是:

<script type="text/javascript" src="static/js/libs/jquery-easyui/jquery.min.js"></script>
<script type="text/javascript" src="static/js/libs/jquery-easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="static/js/libs/jquery-easyui/jquery.easyui.patch.js"></script>
<script type="text/javascript" src="static/js/libs/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>

 这样就解决了该问题。

 

另外参考地址: https://www.jeasyui.com/forum/index.php?topic=6803.0

Latest patch is always using same file name.
For example, current patch (for version 1.5.2) is here:
http://www.jeasyui.com/download/downloads/jquery-easyui-1.5.2-patch.zip
For 1.3, it will be here:
http://www.jeasyui.com/download/downloads/jquery-easyui-1.3-patch.zip
for 1.3.8, here:
http://www.jeasyui.com/download/downloads/jquery-easyui-1.3.8-patch.zip
it is not so hard  Grin

 

附件中也附录了 1.5.3的补丁文件。【注意】我试了1.5.3的补丁js文件,发现DataGrid的数据还是会load twice。不知道为啥?但是1.4的补丁文件是好用的。

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics