Hello!
Consider this example.
I have a grid with three columns:(ID, Name, Company)
On Page_Load, I group the data using the ID column key and therefore hiding that column since it only shows the same information as in the band that was created when doing the group bu operation. When the user wants to add the name column to the group by area, i would like to hide the Name column as well. When the user removes any column from the group by, I would like to show that column and so on...
I tried a bit using the GroupedColumnsChanging/Changed event and rebinding the data there but nothing was reflected in the grid... Any ideas?
Thanks!
/Henrik
Hi Henrik,
If you are hiding the columns on a band, these are only copied down to the container grid when it is created. A work around is to handle row island binding and and copy the Hidden value of the columns from the Band Columns to the Grid Columns.
regards,David Young
Hello Henrik,
I am following up to see if you have any further question with this matter.
Update me if further assistance is needed.
Thanks,
Bhadresh