首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

easyui 怎么控制点击按钮才加载 速给分

2013-12-05 
easyui 如何控制点击按钮才加载 在线等速给分一开始点击链接不加载数据按下查询按钮才去加载 这要什么实现

easyui 如何控制点击按钮才加载 在线等 速给分
一开始点击链接不加载数据  按下查询按钮才去加载 这要什么实现
附加代码

<table id="gridTable" class="easyui-datagrid"  data-options="rownumbers:true,
                                                                 striped:true,
                                                                 singleSelect:true,
                                                                 nowrap:true,
                                                                 collapsible:false,
                                                                 pagination:true,
                                                                 fitColumns:true,
                                                                 singleSelect:true,
                                                                 border:true,
                                                                 pageList: [30,50,80,100],
                                                                 @*url:'newgetResList',*@
                                                                 
                                                                 toolbar:'#gridTb',
                                                                 fit:true"> 
        <thead>
            <tr>
               <th data-options="field:'Id',width:50,align:'center'">号码</th>
               <th data-options="field:'PlayName',width:100,align:'center'">姓名</th>
$("#searchBtn").click(function () { 



            var Id = $("#Id").val();
            var fafangyuan = $("#fafangyuan").val();
           

            $("#gridTable").datagrid('url:newgetResList', { Id: Id, fafangyuan: fafangyuan, AdditionRegisterType: AdditionRegisterType, GameType: GameType, CreationTime: CreationTime, PlayName: PlayName, Sex: Sex, IdCard: IdCard, Bmstate: Bmstate
                        });
            
        });

easyui加载问题
[解决办法]
table的data-options中去掉Url

热点排行