We don’t currently have an automated way to do this for more than one column at a time in the data table.
Not sure if this helps but you can right click on the column header to get the same menu as the gear menu. This still only works for one column at a time.
Do you have to do this action often or is this just for a particular data set?