Is it possible for control properties such as statusprop, displayprop, visibleprop, etc. under a rowtablearea2 to be defined as single elements rather than under the lines array. I’d prefer to set a single logical to true/false for all lines under the grid rather than:
field_visible (1) := true
field_visible (2) := true
or even:
field_visible (*) := true
Being able to define it as a single element would allow me to manage one variable for controls both within the grid and outside of it.
Thanks for any help.
Hi Todd,
sorry, I missed that this question was not answered.
The following hint might still help you and others:
For visibleprop: In a grid use the GRIDCOLHEADER control instead to make a column visible or invisible.
For displayprop, statusprop you can really achieve that corresponding fields are generated outside of the ARRAY as 1 field.
Example:
<field valueprop="myfield" statusprop="/mystatusprop"></field>
For a rowtablearea2 with griddataprop=“lines” you will have the following Natural fields in the Natural adapter:
1 LINES (1:*)
2 MYFIELD (A) DYNAMIC
2 SELECTED (L)
1 MYSTATUSPROP (A) DYNAMIC
Best Regards,
Christine