随笔分类 -  EasyUI

摘要:function DelNotices() { var rows = $('#NoticeList').datagrid('getSelections'); var NoticeIds = []; if (rows.length > 0) { $.messager.confirm('确认', '您是否要删除当前选中的公告?', function (r) { if (r) { for (var i = 0; i < rows.length; i++) { Not... 阅读全文
posted @ 2013-03-12 10:20 Archosaur 阅读(725) 评论(0) 推荐(0)
摘要:开始时,我以为用'selected': true ,就可以了,最后给想要选中的项加上去后,发现还是只能选中第一项,最后查看官方文档NameParameterDescriptionoptionsnoneReturn the options object.getDatanoneReturn the loaded data.loadDatadataLoad the locale list data.reloadurlRequest the remote list data. Pass the 'url' parameter to override the origin 阅读全文
posted @ 2013-01-21 10:47 Archosaur 阅读(10323) 评论(0) 推荐(3)
摘要:一:在jquery.easyui.min1.3.2下:<input id="field" class="easyui-combobox" data-options="data:[{'id':1,'text':'记录流水号','selected':true},{'id':2,'text':'运营单位代码'},{'id':3,'text':'Pos机号'},{'id': 阅读全文
posted @ 2013-01-12 18:39 Archosaur 阅读(2083) 评论(0) 推荐(0)