On my pageI have a RadGrid with columns containing gross and net ammounts and a RadButton "Gross/Net". By clicking the button the grid shows it columns accordingly. Worked liek a charm.
Then I added aggregates od type "Sum" and still everything worked fine.
After that I added an aggregate od type "Custom" to one of the columns (which calculates and shows everything as it should) but than I lost the button funcionality, clicking it does not switch the columns visibility.
The button does: myGrid.MasterTableView.GetColumn("mycolumn").Display = Not mybutton.Checked.
Also tried: myGrid.MasterTableView.GetColumn("mycolumn").Visible = Not mybutton.Checked