It gives more flexibility to the user by allowing them to hide and show those columns which they don’t want to see on the list.
You can do this with jQuery by toggling the specific columns according to the selection.
In the demonstration, I am creating a table layout for listing the employee details and use checkboxes to hide and show the table columns using jQuery.