-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodellist_Vv.xml
20 lines (20 loc) · 1.5 KB
/
modellist_Vv.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<GroupBox Name="GBDVmodellist" cols="xs12 sm12 md12 lg12"><Ctrls>
<ListCtrl Name="modellist_vLst" ToolTip="ttp_modellist_v" Size="700,450" OnLoad="init" Heading="modellist_name,100;product_id,120;station_id,120;created_by,55;creation_date,150;last_update_by,55;last_update_date,150;modellist_id,55;" loadedclick="0">
<DbDetails >
<Index>modellist_id</Index>
<DbTable>desoutter.modellist m left join desoutter.product p on m.product_id=p.product_id left join desoutter.station s on m.station_id=s.station_id</DbTable>
<Data>m.modellist_name,p.product_name product_id,s.station_name station_id,m.created_by,m.creation_date,m.last_update_by,m.last_update_date,m.modellist_id</Data>
<Order>modellist_id</Order></DbDetails>
<operator refresh="1" initial="0" firstpage="0" prepage="0" nextpage="0">
<op text="modify"><DbDetails><Where>modellist_id='%{modellist_vLst[modellist_id]}'</Where></DbDetails><submit namelist="DbDetails" next="$this.modellist.modellistLst"/><assign name="$this.modellist.frmwndctrl" expr="%{this}"/></op>
<op text="delete" needconfirm="1"><DbDetails>
<DbTable>desoutter.modellist</DbTable>
<Where>modellist_id='%{modellist_vLst[modellist_id]}'</Where>
<queryFormat>delete from %{table} where %{where}</queryFormat></DbDetails>
<submit namelist="DbDetails"/><submit/></op>
</operator>
<OnChanged>
<assign name="pgcur_modellist" expr="js(%{modellist_vLst[currentpage]}+1)"/>
<assign name="pgscb_modellist" expr="js(%{modellist_vLst[currentpage]}+1)" function="SetSel"/>
</OnChanged></ListCtrl>
</Ctrls></GroupBox>