From wiki.ginstr.com
Jump to: navigation, search
(List of supported attributes)
(List of supported attributes)
 
(3 intermediate revisions by the same user not shown)
Line 42: Line 42:
 
<hr>
 
<hr>
  
===List of supported attributes===
+
==List of supported attributes==
 
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-

Latest revision as of 15:13, 10 July 2020

gn:act_updateWidgetAttribute

Description
Action used to update widget attribute.
Action returns
void

Action signatures

Update widget attribute

[gn:act_updateWidgetAttribute]|[target,sourceAttributeName,sourceValue]
Parameter Description
target{n} target which will be shown
sourceAttributeName{n} source which will be used for attribute name
sourceValue{n} source which will be used for attribute value

Example

@+id/progressReport20_serviceTimeStartInput - widget which will be updated
@variable/attributeName - attribute which will be updated
@variable/is24HoursTime - new value
[gn:act_updateWidgetAttribute]|[@+id/progressReport20_serviceTimeStartInput,@variable/attributeName,@variable/is24HoursTime]

List of supported attributes

Widget Attribute name
GnTimePicker gn:is24HourFormat
GnDateTimePicker gn:is24HourFormat