jQuery MiniUI

 找回密码
 立即注册
查看: 2474|回复: 1
打印 上一主题 下一主题

lookup控件里面的 datagrid加载完后不显示pageSize值 [复制链接]

Rank: 2

跳转到指定楼层
楼主
发表于 2014-4-1 10:33:09 |只看该作者 |倒序浏览
本帖最后由 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>  

附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

Rank: 8Rank: 8

沙发
发表于 2014-4-1 10:45:25 |只看该作者
本地测试没问题
请更新至最新版本

Archiver|普加软件

GMT+8, 2024-9-8 12:18 , Processed in 1.048121 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部