Extjs RowExpander的扩展,支持异步加载

来源:互联网 发布:vb中log表示方法 编辑:程序博客网 时间:2024/06/06 16:48

Extjs的RowExpander扩展,代码见

http://code.google.com/p/gwt-ext-ux/source/browse/trunk/main/src/com/gwtextux/public/js/rowexpander/Ext.ux.grid.RowExpander.js?spec=svn245&r=245

 

使用示例见:

http://extjs.com/deploy/dev/examples/grid/grid3.html

 

在数据量大的时候,一次性加载所有数据会占用服务器大量时间去执行I/O操作,降低了服务器的服务率。所以异步加载可以分散请求的压力, 对Ext.grid.RowExpander扩展如下:

使用示例如下: