jQuery MiniUI
标题:
mini-filt不能撑满
[打印本页]
作者:
kakagu
时间:
2013-3-30 12:03:50
标题:
mini-filt不能撑满
我看了你们的demo,是能撑满的,但是我的不能撑满,搞了两天也没找到原因。效果见下图
[attach]1512[/attach]
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoomDev.aspx.cs" Inherits="DevTags.RoomDev" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>机房设备管理</title>
<script src="scripts/jquery-1.6.2.min.js" type="text/javascript"></script>
<script src="scripts/miniui/miniui.js" type="text/javascript"></script>
<link href="scripts/miniui/themes/default/miniui.css" rel="stylesheet" type="text/css" />
<link href="scripts/miniui/themes/blue/skin.css" rel="stylesheet" type="text/css" />
<link href="scripts/miniui/themes/iconS.css" rel="stylesheet" type="text/css" />
<style type="text/css">
html, body { margin: 0; padding: 0; border: 0; width: 100%; height: 100%; overflow: hidden; }
</style>
</head>
<body>
<input type="hidden" runat="server" id="SavedRoomID" />
<input type="hidden" runat="server" id="SavedSpecID" />
<div class="mini-toolbar" style="padding: 2px; border-bottom: 0;">
<table style="width: 100%;">
<tr>
<td style="width: 100%;">
<a class="mini-button" iconcls="icon-add" plain="true">增加</a> <a class="mini-button"
iconcls="icon-remove" plain="true">删除</a> <span class="separator"></span><a class="mini-button"
iconcls="icon-save" plain="true">保存</a>
</td>
<td style="white-space: nowrap;">
<input id="key" class="mini-textbox" emptytext="请输入设备名称" style="width: 200px;" />
<a class="mini-button">查询</a>
</td>
</tr>
</table>
</div>
<div class="mini-fit">
<div id="devGrid" class="mini-datagrid" style="width: 100%; height: 100%;" idfield="ID"
pagesize="30" allowcelledit="true" allowcellselect="true" multiselect="true">
<div property="columns">
<div type="checkcolumn">
</div>
<div type="indexcolumn">
</div>
<div field="Name" width="200" allowsort="true">
名称
<input property="editor" class="mini-textbox" style="width: 100%;" />
</div>
<div field="Code" width="150" allowsort="true">
编码
<input property="editor" class="mini-textbox" style="width: 100%;" />
</div>
<!--grid:机架-->
<div type="comboboxcolumn" field="Spec" width="80" headeralign="center">
机架
<input id="btnRackEdit" property="editor" class="mini-buttonedit"
allowinput="false" style="width: 100%;" />
</div>
<!--ComboBox:专业-->
<div type="comboboxcolumn" field="Spec" width="80" headeralign="center">
专业
<input property="editor" class="mini-combobox" textfield="Name" valuefield="ID" style="width: 100%;"
url="RoomDev.aspx?method=GetSpec" minheight="300" />
</div>
<div field="Note" width="200" headeralign="center" allowsort="true">
备注
<input property="editor" class="mini-textarea" style="width: 100%;" />
</div>
</div>
</div>
</div>
</body>
</html>
作者:
niko
时间:
2013-3-31 11:49:04
顶部加一个div:
<div>
<input type="hidden" runat="server" id="SavedRoomID" />
<input type="hidden" runat="server" id="SavedSpecID" />
</div>
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2