4 Detail table operation interface
1 Add detail table row and set initial value
Parameter
type
Required
Remarks
// Detail 2 Add a line and assign field111 to the newly added line field
WfForm.addDetailRow (" detail_2",{ field111:{ value :" initial value "});
// Dynamic field assignment, detail 1 adds a line and assigns a begindate field name
var begindatefield =WfForm.convertFieldNameToId (" beginate "," detail_1");
var addObj ={};
addObj[begindatefield]={ value:"2019-03-01"};}
WfForm.addDetailRow (" detail_1", addObj);
// Don't recommend this dynamic key writing, IE do n' t support it, avoid it
WfForm.addDetailRow (" detail_1",{[ beginfield ]:{ value :"2019-03-01"}})2 Delete the detail list indicating line/all line
Parameter
type
Required
Remarks
3 Select sepecified row or all row
Parameter
type
Required
Remarks
4 Get all Row Index of detail table
Parameter
type
Required
Remarks
5 Get selected row index of detail table
Parameter
type
Required
Remarks
6 Controls whether the detail line check box disables the tick
Parameter
type
Required
Remarks
7 Control the display and hide of detail data rows
Parameter
type
Required
Remarks
8 Get database primary key of exisitng field
Parameter
type
Required
Remarks
9 Get count of row lines
Parameter
type
Required
Remarks
10 Add lines, delete line pre-action(logic or block event)
11 Add lines, delete lines post-actions
12 Mobile client jump to detail edit line page execution event
13 Add new detail row, copy last line data by default
Parameter
type
Required
Remarks
14 Get S/N base on row index
Parameter
type
Required
Remarks
Last updated