jQuery MiniUI
标题:
mini-window如何js控制折叠或打开
[打印本页]
作者:
但丁少爷
时间:
2018-8-4 17:27:28
标题:
mini-window如何js控制折叠或打开
<div id="win1" class="mini-window" title="待办信息" style="width:400px;height:250px;"
showMaxButton="true" showCollapseButton="true" showShadow="true" showCloseButton="false"
showToolbar="true" showFooter="true" showModal="false" allowResize="true" allowDrag="true" onbuttonclick="onButtonClick"
>
<div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%; font-style: "
url="/TBPWeb/informRemindAction.do?method=findRemindMsg" idField="INFORMID" allowResize="false" showPager="false" showColumns="false" allowCellWrap="true"
sizeList="[20,30,50,100]" pageSize="20" ajaxOptions="{contentType:'application/x-www-form-urlencoded; charset=utf-8'}">
<div property="columns">
<div field="DBMSG" align="left" headerAlign="center" allowSort="true">待办信息</div>
<div field="URL" align="center" headerAlign="center" allowSort="true" visible='false'>链接地址</div>
<div name="action" width="20%" headerAlign="center" align="center" renderer="onActionRendererEdit" cellStyle="padding:0;">处理</div>
</div>
</div>
</div>
我想用js控制页面打开或者折叠
作者:
dforce
时间:
2018-8-6 09:22:42
mini.get("win1").setExpanded(false/true);
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2