jQuery MiniUI
标题:
关于miniui bootstrap主题的使用。
[打印本页]
作者:
hsheng
时间:
2014-9-17 18:26:18
标题:
关于miniui bootstrap主题的使用。
引用了\miniui\themes\bootstrap路径下的样式文件。
显示效果如下:
[attach]5190[/attach]
html代码:
<div id="datagrid1" class="mini-datagrid" style="width:700px;height:250px;"
idField="id" allowResize="true" sizeList="[20,30,50,100]" pageSize="20">
<div property="columns">
<div type="indexcolumn" ></div>
<div field="loginname" width="120" headerAlign="center" allowSort="true">员工帐号</div>
<div field="name" width="120" headerAlign="center" allowSort="true">姓名</div>
<div field="gender" width="100" renderer="onGenderRenderer" align="center" headerAlign="center">性别</div>
<div field="salary" numberFormat="¥#,0.00" align="right" width="100" allowSort="true">薪资</div>
<div field="age" width="100" allowSort="true" decimalPlaces="2" dataType="float">年龄</div>
<div field="createtime" width="100" headerAlign="center" dateFormat="yyyy-MM-dd" allowSort="true">创建日期</div>
</div>
</div>
复制代码
请问是样式的不支持,还是我的写法有问题?
作者:
dforce
时间:
2014-9-18 09:24:15
引用的时候正常引用miniui.css
下面再引入bootstrap的css
<link href="../../scripts/miniui/themes/default/miniui.css" rel="stylesheet" type="text/css" />
<link href="../../scripts/miniui/themes/bootstrap/skin.css" rel="stylesheet" type="text/css" />
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2