How enable toogle hide/show the columns in a datagrid to the users?

Jmix v2.4.0.
How enable toogle hide/show the columns in a datagrid to the users? DataGrid Seetings?

Use the gridColumnVisibility component.

Regards,
Konstantin