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

Multiple grouping hiding detail data

4 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dan Martin
Top achievements
Rank 1
Dan Martin asked on 14 Aug 2009, 02:19 AM
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: 

 

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

 

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Aug 2009, 01:07 PM
Hello Dan,

We believe that we have fixed this issue - please try our latest service pack (uploaded yesterday) and let us know about the result.

Sincerely yours,
Vlad
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.
0
Dan Martin
Top achievements
Rank 1
answered on 14 Aug 2009, 06:57 PM
Vlad,  I upgraded to build 813 but it did not solve the problem.  As before, grouping by a single column is fine, but when I add a second column, I lose visibility of everything except the first subgroup and, when expanded, the first row of data. 

Thanks,
Dan
0
Accepted
Vlad
Telerik team
answered on 17 Aug 2009, 05:16 AM
Hi Dan,

Can you send us small example via support ticket or can you point us to some of our online examples where this can be reproduced?

Best wishes,
Vlad
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.
0
Dan Martin
Top achievements
Rank 1
answered on 19 Aug 2009, 11:26 AM
Thanks.

To close the loop...this issue will be closed.  As the result of a support ticket a bug was identified that will be fixed in the next internal release. 

DM
Tags
GridView
Asked by
Dan Martin
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Dan Martin
Top achievements
Rank 1
Share this question
or