i have an aspx page where the columns are shown in dojo grid like
var formFields = [{
name: 'Cost',
placeHolder: '',
required: true,
type: 'currency',
column: 'Cost',
friendlyName: 'Cost',
width: 80
}, {
name: 'CompareAtPrice',
placeHolder: '',
required: true,
type: 'currency',
column: 'CompareAtPrice',
friendlyName: 'Compare At Price',
width: 150
}]
I want to hide these columns for some users based on radio button selection.