Hello,
I have a large set of fields and I am looking for a way to have these fields all be handled using the same method. An example would be setting the visibility of a set of fields using a criteria.
I tried using the syntax below but the presence of the parameter causes it to not work.
"Visible": {"bindTo": "MyMethod('MyColumn')"},
If the method being called can pass the current field name as an argument, then we can write one method and reuse it instead of writing over 75 methods that all basically do the same operation.
Any ideas how I could solve this?
Like
Hello,
And how about using a separate attribute, setting this attribute value in the method and bind "visible" property to this attribute value? This will modify visibility for several columns.