This is a migrated thread and some comments may be shown as answers.

'Group By' Bug

1 Answer 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brandmuscle
Top achievements
Rank 1
Brandmuscle asked on 04 May 2009, 06:48 PM
When you create the radgrid on the fly and view it to the user you cannot drag any of the columns to group by (it doesnt let you).

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

 

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 06 May 2009, 04:06 PM
Hello Dan,

We had an issue when RadGridView is inside RadWindow. See this forum thread for info and resolution.

Sincerely yours,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Brandmuscle
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or