- 注册时间
- 2013-12-19
- 最后登录
- 2014-4-16
- 阅读权限
- 10
- 积分
- 80
- 精华
- 0
- 帖子
- 19
|
本帖最后由 xiaosha 于 2014-4-1 10:34 编辑
如下图所示,lookup里面放的 datagrid不显示pageSize值,我已经设置了的,如果点击那个尺寸combo,可以看得到尺寸在里面,代码在图下面
代码:
<input id="Participants" name="Participants" allowInput="false" class="mini-lookup" style="width:100%;"
textField="Name" valueField="AccountId" popupWidth="auto" popup="#ParticipantsPanel" grid="#ParticipantsGrid" multiSelect="true" />
<div id="ParticipantsPanel" class="mini-panel" title="header" iconCls="icon-add"
style="width:500px;height:270px;" showToolbar="true" showCloseButton="true"
showHeader="false" bodyStyle="padding:0" borderStyle="border:0" >
<div property="toolbar" style="padding:5px;padding-left:8px;text-align:center;">
<div style="float:left;padding-bottom:2px;">
<span>姓名:</span>
<input id="keyword" class="mini-textbox" onenter="SearchClick()"/>
<a class="mini-button" iconcls="icon-search" plain="true">查找</a>
<a class="mini-button" iconcls="icon-remove">清除</a>
</div>
<div style="float:right;padding-bottom:2px;">
<a class="mini-button" iconcls="icon-ok"onclick="CloseClick()">确定</a>
</div>
<div style="clear:both;"></div>
</div>
<div id="ParticipantsGrid" class="mini-datagrid"
style="width:100%;height:100%;" borderStyle="border:0"
pageSize="25" sizeList="[25,50]" showPageSize="true" showPageIndex="true"
url="@Url.Action("GetList","User")">
<div property="columns">
<div type="indexcolumn" headerAlign="center" width="20">序号</div>
<div type="checkcolumn" width="50" headerAlign="center" ></div>
<div field="Name" width="100" headerAlign="center" allowSort="true" align="center">姓名</div>
</div>
</div>
|
|