摘要:
$(receipts.formid).form({ onLoadSuccess: function (data) {//这个loadsuccess一定要写在'load'之前,要不不执行 $(receipts.formid + ' .wuliuid').combobox('setText', rece 阅读全文
摘要:
所谓为了支持某属性的子属性,主要为了解决。在服务器返回的json格式的数据的某个属性带有自属性,而我们恰恰又需要使用到该子属性作为我们的datagrid的某个字段的。默认情况下datagrid只能支持一级属性字段(属性的属性字段属于二级字段)。 对于这个问题的解决方案有两种方式 1、就是更改esay 阅读全文
摘要:
min: 0.5,//最小0.5 required: true, precision: 1,//小数点后精度为1位 阅读全文
摘要:
以下为官方数据,不需要其他文件即可实现编辑数据 <!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>Row Editing in DataGrid - jQuery EasyUI Demo</title> <link rel="styl 阅读全文
摘要:
loadFilter: function (data) { if (data.error != undefined) { $.messager.alert('数据加载出错', data.error); return { 'total': 0, 'rows': [] }; } else { retur 阅读全文
摘要:
var dg = '#goods-dg'; var index = $(dg).datagrid('getRowIndex', goods.row.sortid); if (index > -1) {//这里显示错在 $('#goods-dg').datagrid('selectRow', inde 阅读全文