|

楼主 |
发表于 2017-5-21 00:07:16
|
显示全部楼层
<?xml version="1.0" encoding="utf-8"?>
<xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.justep.com/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" component="/UI/system/components/window.xbl.xml#window" id="window">
<xforms:model id="model" style="width:143px;height:auto;top:351px;left:297px;">
<data auto-load="true" component="/UI/system/components/data.xbl.xml#bizData" concept="X5_WPXX" direct-delete="true" id="dataMain" limit="20" offset="0" update-mode="whereVersion" store-type="simple">
<creator action="/x5demo/demo/logic/action/createX5_WPXXAction" id="default2"/>
<reader action="/x5demo/demo/logic/action/queryX5_WPXXAction" id="default3"/>
<writer action="/x5demo/demo/logic/action/saveX5_WPXXAction" id="default4"/>
</data>
</xforms:model>
<xui:view auto-load="true" id="rootView">
<xforms:trigger appearance="image-text" class="button-blue" component="/UI/system/components/trigger.xbl.xml#trigger" id="newTrigger" operation="new" operation-owner="dataMain">
<xforms:label id="newTriggerLabel"/>
</xforms:trigger>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="saveTrigger" operation="save" operation-owner="dataMain">
<xforms:label id="saveTriggerLabel"/>
</xforms:trigger>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="deleteTrigger" operation="delete" operation-owner="dataMain">
<xforms:label id="deleteTriggerLabel"/>
</xforms:trigger>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="refreshTrigger" operation="refresh" operation-owner="dataMain">
<xforms:label id="refreshTriggerLabel"/>
</xforms:trigger>
<xhtml:div component="/UI/system/components/bizDataFilterMenu.xbl.xml#bizDataFilterMenu" data="dataMain" id="bizDataFilterMenu1"/>
<xhtml:div class="grid-compact" component="/UI/system/components/grid.xbl.xml#grid" data="dataMain" header-row-height="30" id="grdMain" row-height="30" show-header-menu="hide-column,save-layout,group-column,adjust-column">
<column id="default5" label="物品编号" ref="fWPBH" type="ed" width="100px"/>
<column id="default6" label="物品名称" ref="fWPMC" type="ed" width="100px"/>
<column id="default7" label="物品类型" ref="fWPLX" type="ed" width="100px"/>
<column id="default8" label="物品价格" ref="fWPJG" type="ed" width="100px"/>
</xhtml:div>
<xhtml:div align="right" component="/UI/system/components/pagination.xbl.xml#pagination" data="dataMain" first-label="首页" id="pagination1" items="first last pre next" last-label="尾页" next-label="下页" page-count="15" pre-label="上页"/>
<xui:layout style="overflow:auto;height:100%;width:100%">
<xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout" id="borderLayout1" style="width:100%; height: 100%;;">
<top id="borderLayout-top1" size="40px">
<xhtml:div component="/UI/system/components/buttonBar.xbl.xml#buttonBar" expandable="false" expanded="false" id="ngtbMain" separator="false" separator-size="1" style="width:748px;">
<xui:place control="newTrigger" id="newTriggerPlace"/>
<xui:place control="saveTrigger" id="saveTriggerPlace"/>
<xui:place control="deleteTrigger" id="controlPlace2"/>
<xui:place control="refreshTrigger" id="refreshTriggerPlace"/>
<xui:place control="queryTrigger" id="controlPlace4"/>
<xui:place control="gridSelect1" id="controlPlace6"></xui:place></xhtml:div>
</top>
<center id="borderLayout-center1">
<xui:place control="bizDataFilterMenu1" id="controlPlace3" style="top:5px;left:530px;"/>
<place control="grdMain" id="controlPlace1" style="width:100%;height:100%"/>
</center>
<bottom id="borderLayout-bottom1" size="45px">
<place control="pagination1" id="controlPlace5"/>
</bottom>
</xhtml:div>
</xui:layout>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="queryTrigger" operation="show" operation-owner="bizDataFilterMenu1">
<xforms:label id="default1"/>
</xforms:trigger>
<xhtml:div component="/UI/system/components/select.xbl.xml#gridSelect" row-height="36" dropdown-class="xui-grid-hide-VLine" label-separator="," value-separator="," ext-separator="," id="gridSelect1" ref="data('dataMain')/fWPMC" label-ref="data('dataMain')/fWPMC">
<xforms:label ref="fWPMC" id="default9"></xforms:label>
<xforms:value ref="fWPMC" id="default10"></xforms:value>
<xforms:itemset id="default11" data="dataMain"><xforms:column ref="fWPMC" id="default12"></xforms:column></xforms:itemset></xhtml:div></xui:view>
<xui:resource id="resource"><xhtml:script id="htmlScript1" src="mainActivity.js"></xhtml:script></xui:resource>
</xui:window>
|
-
|