日期:2014-05-17  浏览次数:20528 次

extjs 2.0 使用gridPanel加载数据特别慢
extjs 2.0 使用gridPanel加载数据特别慢,后台数据库(sql2008)一共才不到150条,绑定控件后加载时需要将尽2分钟,这是什么原因?网上找了好多的资料,都不行啊,数据绑定主要是通过store里的OnReadData="MyData_Refresh5",然后调用 后台方法实现的
 <ext:GridPanel ID="GridPanel4" runat="server" Title="<font style='font-size:13; font-weight:900; font-family: Arial,Tahoma, '微软雅黑';'>新蒜货源</font>"
                        Width="1240" Height="400" AutoHeight="true" AnchorHorizontal="100%" Cls="x-grid-custom">
                       
                        <Store>
                            <ext:Store ID="Store8" runat="server"  RemotePaging="false" OnReadData="MyData_Refresh5"
                                PageSize="100" >
                                <Proxy>
                                    <ext:PageProxy />
                                </Proxy>
                                <Model>
                                    <ext:Model ID="Model8" runat="server">
                                        <Fields>
                                            <ext:ModelField Name="SaleRecordID" />