Example:
Telerik.Windows.Controls.
RadGridView grid = new Telerik.Windows.Controls.RadGridView();
grid.ItemsSource = e.Result;
grid.IsReadOnly =
true;
grid.SelectionChanged +=
new EventHandler<Telerik.Windows.Controls.SelectionChangeEventArgs>(grid_SelectionChanged);
grid.CanUserSortColumns =
true;
grid.CanUserReorderColumns =
true;
Telerik.Windows.Controls.
RadWindow window = new Telerik.Windows.Controls.RadWindow();
window.Header =
"Product Listing";
window.Content =
null;
window.Content = grid;
window.ShowDialog();
window.Closed +=
new EventHandler<Telerik.Windows.Controls.WindowClosedEventArgs>(window_Closed);
In this example the window's content contains the grid that was pieced together at runtime but the user cannot group by any of the columns.
Is this a bug or am I doing something wrong here?
Thanks