RadGrid custom aggregate with hide/show columns

0 Answers 3 Views
Ajax Grid
QiQo
Top achievements
Rank 1
Iron
QiQo asked on 09 Oct 2025, 07:28 AM

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

No answers yet. Maybe you can help?

Tags
Ajax Grid
Asked by
QiQo
Top achievements
Rank 1
Iron
Share this question
or