Hi Ganesh,
You can add a dynamic class per column that hides the class when needed. You’ll need to wrap the datagrid in a dataview which contains the boolean attribute.
The dynamic class should then look something like:
if $currentObject/ColumnHidden then 'hidden' else ''