Using VB in VS2008 with WPF 2009 Q2 Build 724.35. The problem also showed up using Build 701.
With Build 701, when I added the second group, I got an exception in Telerik.Windows.Data with message
"Specified argument was out of the range of valid values. Parameter name: position"
With Build 724, the exception is gone, but when grouping by two fields, either run-time or programatically, only the first data record (or the first group) is visible in the grid.
Here is the code defining the data for the grid:
Here is one simple variant of the XAML files I have used(autogenerating the columns still has the same problem):
With Build 701, when I added the second group, I got an exception in Telerik.Windows.Data with message
"Specified argument was out of the range of valid values. Parameter name: position"
With Build 724, the exception is gone, but when grouping by two fields, either run-time or programatically, only the first data record (or the first group) is visible in the grid.
Here is the code defining the data for the grid:
Dim dsBudget As New BudgetDataSet |
Dim taDetails As New BudgetDataSetTableAdapters.DetailsTableAdapter |
taDetails.Fill(dsBudget.Details) |
RadGridView1.ItemsSource = dsBudget.Details.DefaultView |
Here is one simple variant of the XAML files I have used(autogenerating the columns still has the same problem):
<Grid> |
<Grid:RadGridView Name="RadGridView1" |
AutoGenerateColumns="False" > |
<Grid:RadGridView.Columns> |
<Grid:GridViewDataColumn HeaderText="Category" |
DataMemberBinding="{Binding Path=Category}" > |
</Grid:GridViewDataColumn> |
<Grid:GridViewDataColumn HeaderText="Company" |
DataMemberBinding="{Binding Path=Company}" > |
</Grid:GridViewDataColumn> |
<Grid:GridViewDataColumn HeaderText="Amount" |
DataMemberBinding="{Binding Path=Amount}" |
DataFormatString="{}{0:f2}" > |
</Grid:GridViewDataColumn> |
<Grid:GridViewDataColumn HeaderText="Description" |
DataMemberPath="Description" > |
</Grid:GridViewDataColumn> |
</Grid:RadGridView.Columns> |
</Grid:RadGridView> |
</Grid> |
Any insight will be greatly appreciated.
Thanks, Dan