In the button click event, you can show/hide the columns dynamically by using the showColumns/hideColumns methods of the Grid, respectively.
The following is the argument of the show/hide columns method.
In the following code examples, the CustomerID column is shown or hidden in the Grid.
The following screenshot displays the Hide and Show Customer ID columns:
This page will automatically be redirected to the sign-in page in 10 seconds.