From wiki.ginstr.com
Jump to: navigation, search

gn:act_rawBulkUpdateValues

Description
Action used to update values to database on multiple rows that are stored in widgets that contain multiple rows, such as GnListView
Action returns
boolean

Action signatures

Update values

[gn:act_rawBulkUpdateValues]|[table,source;columns{n}]
Parameter Description
table hardcoded name of table where the data will be updated
source source from where the rows will be used
columns{n} (optional) id of column or columns in source that will be collected for update from source rows
  • Valid column values are colummn ids separated by comma ,

Example

materialAssignments - table name
columnA,columnB - id's of columns in table materialAssignments
@+id/listMaterialsForAssign - GnListView
[gn:act_rawBulkUpdateValues]|[materialAssignments,@+id/listMaterialsForAssign]
OR (with column filtering)
[gn:act_rawBulkUpdateValues]|[materialAssignments,@+id/listMaterialsForAssign;columnA,columnB]