This knowledge base document explains about how to hide certain columns only when print the Grid.
We can achieve this by using actionBegin and actionComplete event of Grid. In actionBegin event we can hide the certain columns only when print the Grid, and in actionComplete event again we can show the hided column in grid after print the grid.
RESULT: The following output will be the result of the above code example
Figure1. Columns displayed in the Grid.
Figure2. Number of columns visible in the Print preview window
This page will automatically be redirected to the sign-in page in 10 seconds.