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

Gridview Grouping

2 Answers 23 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 13 Jan 2011, 04:35 AM
I am using Vlads datatable class to populate a gridview, the original one with dynamic linq. This works fine, however the grouping does not work. When I drag the column header over the grouping area I get the red circle with a slash and cannot drop the title.

<telerik:RadGridView RowIndicatorVisibility="Collapsed" IsReadOnly="True" CanUserFreezeColumns="False" <br>                                                         CanUserResizeColumns="False"<br>                                                         ItemsSource="{Binding ReportTable,Mode=OneWay}" />



There are no spaces in the title and they are unique.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Jan 2011, 08:09 AM
Hi,

 Most probably there is something wrong with the column DataType. Can you try the latest version of the DataTable instead to see if you will have the same problem? 

Kind regards,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Mark
Top achievements
Rank 1
answered on 13 Jan 2011, 08:19 AM
I did not actually assign a data type to the column, b/c the data is coming from an xml string I left it at what I thought would be the default of string, actually was null and therefore broke the grouping.

After explicitly setting the data type the grouping works.

Thank you.

The datatable classes were an excellent addition to the arsenal for getting around some of the Silverlight limitations, thanks to all the contributors.
Tags
GridView
Asked by
Mark
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mark
Top achievements
Rank 1
Share this question
or