-
Notifications
You must be signed in to change notification settings - Fork 1
/
product_Vv.xml
20 lines (20 loc) · 1.36 KB
/
product_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<GroupBox Name="GBDVproduct" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="product_vLst" ToolTip="ttp_product_v" Size="700,450" OnLoad="init" Heading="product_name,250;product_code,100;actived,60;memo,640;product_id,55;created_by,55;creation_date,150;last_update_by,55;last_update_date,150;img_pos_screw,640;" loadedclick="0">
<DbDetails >
<Index>product_id</Index>
<DbTable>desoutter.product p</DbTable>
<Data>p.product_name,p.product_code,p.actived,p.memo,p.product_id,p.created_by,p.creation_date,p.last_update_by,p.last_update_date,p.img_pos_screw</Data>
<Order>product_id</Order></DbDetails>
<operator refresh="1" initial="0" firstpage="0" prepage="0" nextpage="0">
<op text="modify"><DbDetails><Where>product_id='%{product_vLst[product_id]}'</Where></DbDetails><submit namelist="DbDetails" next="$this.product.productLst"/><assign name="$this.product.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>desoutter.product</DbTable>
<Where>product_id='%{product_vLst[product_id]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
<OnChanged>
<assign name="pgcur_product" expr="js(%{product_vLst[currentpage]}+1)"/>
<assign name="pgscb_product" expr="js(%{product_vLst[currentpage]}+1)" function="SetSel"/>
</OnChanged></ListCtrl>
</Ctrls></GroupBox>