摘要: 1. $("#dg").datagrid("load",{"userName":$("#s_userName").val()}); 数据表的load方法,用于加载数据,后面可以写上参数,格式为:{"参数名":参数值,"":""}中间用逗号分开 2.$("#dlg").dialog("open").d 阅读全文
posted @ 2018-03-08 21:59 秋意了了 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 一、显示分页(pagination:true)情况下,隐藏每页显示的记录条数的那个select(即pageList),下图箭头 方法1:onBeforeLoad:function(param){ $('#'+$(this)[0].id).datagrid('getPager').pagination 阅读全文
posted @ 2018-03-08 21:52 秋意了了 阅读(197) 评论(0) 推荐(0) 编辑