Inside the LederTransAccount form, we want to add a control (for example, a CheckBox or a Radio Button) that allows users to hide or unhide certain grid fields. I.e., if the checkbox is unmarked, the form would appear as default (standard D365 fields), if the checkbox was marked, the form would refresh and exhibit the default fields + some other custom fields inside the grid (doing it this way since the field is a Display Method, therefore, users can't simply use the "Add Columns" option).
In order to this, I extended the form and created the custom field on the grid (Field123) and the checkbox (CheckBox123), with the caption "Show Form with Field123".
My issue now is what I actually need to do to connect both the checkbox and the form refresh process and what logic should I write in the backstage (even more given the fact that this an extension, blocking me from adding custom methods directly into the form controls).