
EasyUI随笔
EasyUI的那些事
AC小小常
每天进步一点点
展开
-
combobox,textbox,numberbox设置校验
文章目录一、combobox设置校验二、textbox设置校验三、numberbox设置校验 一、combobox设置校验 设置不能为空 <td> <input id="txtlwlx" name="lwlx" style="width: 150px" class="easyui-combobox" data-options="data:@Model.lwlxdata, method:'get', editable:false, valueField:原创 2020-10-27 19:29:09 · 529 阅读 · 0 评论 -
EasyUI中input的checkbox设置/获取值
js代码: //省级选中时,校级默认选中 function sjtjcheck() { //attr在easyui中无用,用prop代替 if ($('#sjtj').prop("checked")) { $('#xjtj').prop("checked", "checked"); } } 对应页面代码: <input type="checkbox" class="easyui-checkbox" id="xjtj"原创 2020-05-12 17:55:08 · 2706 阅读 · 0 评论 -
EasyUI-数据表格加载慢
使用easyui数据表格加载数据时,超过了100左右的数据便会加载的很慢,解决方法如下,亲证有用: 编辑导入页面的jquery.easyui.min.js源码: 原本: function _722(trs1,trs2){ for(var i=0;i<trs2.length;i++){ var tr1=$(trs1[i]); var tr2=$(trs2[i]); tr1.css...原创 2020-01-13 14:40:32 · 685 阅读 · 0 评论 -
Easyui-修改数据表格中的url属性
//查询 function doSearch() { //编写url var url = "/XJ/Search"; var options = $("#dg").datagrid("options");//获取 option设置对象 options.url = url;//设置url $("#dg").da...原创 2020-01-13 10:06:48 · 817 阅读 · 0 评论