jQuery MiniUI
标题:
popup 怎么隐藏
[打印本页]
作者:
moroc
时间:
2014-9-2 10:11:41
标题:
popup 怎么隐藏
我做了一个类似lookup功能(主要是lookup不能自己输入)
我想请问一下当我双击datagrip列表row时,在填充数据的同时,如何关闭popup。
<input id="xm" name="cg.xm" style="width: 100%;" class="mini-popupedit" popupWidth="320" popupHeight="220" popup="#oftenguestctx" required="true" maxLength="10" />
<div id="oftenguestctx" class="mini-panel" title="header" iconCls="icon-add" style="width: 100%; height: 100%" showToolbar="true" showCloseButton="true" showHeader="false" bodyStyle="padding:0" borderStyle="border:0">
<!--toolbar-->
<div property="toolbar" style="padding: 2px;">
<input id="zjhm" name="cg.zjhm" class="mini-textbox" style="width: 250px;" required="true" maxLength="18" emptyText="---" />
<a id="btnsave" class="mini-button" iconCls="icon-save" plain="false">--</a>
</div>
<div id="xmpopup" class="mini-datagrid" style="width: 100%; height: 100%;" borderStyle="border:0" showPageSize="false" showPageIndex="false" showReloadButton="false" showPageInfo="false" fitColumns="true" url="/h/queryog.action">
<div property="columns">
<div type="indexcolumn" width="20" headerAlign="center"></div>
<div field="xm" width="80">
--
</div>
<div field="xb" width="32">
---
</div>
<div field="zjhm" width="120">
--
</div>
</div>
</div>
</div>
作者:
felt
时间:
2014-9-2 10:28:17
var edit=mini.get("xm");
grid.on("rowdblclick",function(e){
.......填充数据
edit.hidePopup();
})
作者:
moroc
时间:
2014-9-2 10:43:37
felt 发表于 2014-9-2 10:28
var edit=mini.get("xm");
grid.on("rowdblclick",function(e){
.......填充数据
谢谢,,OK了。
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2