Grid Show/Hide Columns

Hello

I want to display or hide fields automatically I can create 2 Buttons —> Off On

I understand the macro sc_field_display({file_name}, off/on);

I can create the first Button
Button --> Off
Type --> Run

sc_field_display({field1}, off);
sc_field_display({field2}, off);
sc_field_display({field3}, off);
sc_field_display({field4}, off);

The second Button
Button --> On
Type --> Run

sc_field_display({field1}, on);
sc_field_display({field2}, on);
sc_field_display({field3}, on);
sc_field_display({field4}, on);

It’s working fine.

The first question is: I can create 1 Button Off/On and interchange Off/On

Example
If ( {??? field ??? }== ‘ON’} )
sc_field_display({field1}, off);
else
sc_field_display({field1}, on);

I know for the Columns Button it’s possible make this.
Is there the way use the Columns Button, hide some columns and save the Grid with the columns selected.
i know, i can save the filter but the Columns.
Or use the sc_field_display({file_name}, off/on);
And modifify the Button Columns too.

Thank you.

German