I managed to add a column dynamically on button click for example, but it was quite tricky. This is the code:
object source = this.radGridView.ItemsSource;
GridViewDataColumn id = new GridViewDataColumn();
this.radGridView.ItemsSource = null;
this.radGridView.ItemsSource = source;
I have to say that, at the moment, we do not recommend adding and removing columns at runtime, the best way would be to add all columns and hide the unneeded ones using the IsVisible
property of the column.
the Telerik team