For each column you can specify whether the column is visible. Combine that with conditional visibility to allow the user to show and hide columns. Be sure to specify a unique state saving name for each data table in your project.
Please check the various examples in the demo project. Note that the Open in Modeler button does not work, use the Download button to get the demo project.