how can we hide a column in datagrid 1 based on a boolean attribute using Dynamic css.

0
how can we hide a column in datagrid 1 based on a boolean attribute using Dynamic css.
asked
1 answers
2

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 ''

 

answered