Once you click the hide icon. all of the header of the datable that you assigned on this function will be shown as a list and you need uncheck the checkbox if you want to hide the column. show icon will be visible once the you have a column that already hide .and you need to check the checkbox to show the column.