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

Row-Position changes within GroupDescription

6 Answers 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 02 Jun 2009, 08:15 AM
Hi

I have a GridView with 2 columns, title and value. title is readonly. Without a GroupDescription, in editing-mode, using the TAB-Key the next value-cell is going to edit-mode correctly. When I define a Group-Description, with the TAB-Key the row-positions are changed automaticly: the last edited row goes to the bottom of the group and the next row is at top of the group. Can I disable this feature (or bug?). Also it's not good because after entering all data within a group I stay at the first row of the group and have to press the TAB-Key until the cursor passed the bottom of the group and enter in edit-mode of the first value-cell of the next group.

Thanks
Thomas

6 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 04 Jun 2009, 11:32 AM
Hello Thomas,

Not sure that I've understand your scenario correctly. We have example with grouping and I was not able to reproduce the behavior that you describe (the edited row doesn't go to top when grouping while the row is in edit mode).
You can find the example here:
http://demos.telerik.com/silverlight/#GridView/Aggregates

If your scenario is different, please send us small example so we can investigate it further.

All the best,
Hristo
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
Hristo
Telerik team
answered on 04 Jun 2009, 11:33 AM
Hello Thomas,

Not sure that I've understand your scenario correctly. We have example with grouping and I was not able to reproduce the behavior that you describe (the edited row doesn't go to top when grouping while the row is in edit mode).
You can find the example here:
http://demos.telerik.com/silverlight/#GridView/Aggregates

If your scenario is different, please send us small example so we can investigate it further.

All the best,
Hristo
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
Thomas
Top achievements
Rank 1
answered on 04 Jun 2009, 01:10 PM
Hi Hristo

I have extracted a small example from my project. How can I send the zip-file to you? No possibility to attach here.

Regards
Thomas

0
Vlad
Telerik team
answered on 04 Jun 2009, 01:21 PM
Hello Thomas,

You can open support ticket.

Kind regards,
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
Thomas
Top achievements
Rank 1
answered on 04 Jun 2009, 01:48 PM
done... Ticket-ID 217433

Thomas
0
Ajay
Top achievements
Rank 1
answered on 23 Nov 2018, 12:30 PM

Hello Team,

I am having a  RadGridView with five different columns List of 100 records with different categories. When I am updating any cell and selecting any row the updated row directly moves to last position in the group. When I am removing GroupDescriptor it is working fine. I am using telerik silverlight  2013.2.724.1050 version 

In Xaml I am using 

 <tlr:RadGridView Name="optionsGrid"
                                                             Grid.Row="1"
                                                             Grid.Column="0"
                                                             GroupRenderMode="Flat"
                                                             Margin="0,0,0,10"
                                                             HorizontalAlignment="Stretch"
                                                             AutoGenerateColumns="False"
                                                             CanUserDeleteRows="False"
                                                             CanUserInsertRows="False"
                                                             
                                                             EnableRowVirtualization="True"
                                                             IsReadOnly="{Binding Path=IsSelected,
Converter={StaticResource BoolToBoolConverter}, ConverterParameter=Invert}"
                                                             ItemsSource="{Binding Path=Selected.Records}"
                                                             ScrollViewer.VerticalScrollBarVisibility="Auto"
                                                             SelectedItem="{Binding Path=Selected.Selecteditem, Mode=TwoWay}"
                                                             ShowGroupPanel="False"
                                                             ShowInsertRow="False">
                                                <tlr:RadGridView.GroupDescriptors>
                                                    <tlr:GroupDescriptor Member="CategoryName" >
                                                        
                                                        <tlr:GroupDescriptor.AggregateFunctions>
                                                            <tlr:CountFunction Caption="Total: " />
                                                        </tlr:GroupDescriptor.AggregateFunctions>
                                                    </tlr:GroupDescriptor>                                                    
                                                </tlr:RadGridView.GroupDescriptors>
                                                <tlr:RadGridView.Columns>
                                                    <tlr:GridViewDataColumn 
                                                        Width="25"
                                                        DataMemberBinding="{Binding Path=IsChecked}"
                                                        IsReadOnly="True">
                                                        <tlr:GridViewDataColumn.CellTemplate>
                                                            <DataTemplate>
                                                                <CheckBox tlr:StyleManager.Theme="Vista" IsChecked="{Binding Path=IsChecked, Mode=TwoWay}" />
                                                            </DataTemplate>
                                                        </tlr:GridViewDataColumn.CellTemplate>
                                                    </tlr:GridViewDataColumn>
                                                    <tlr:GridViewDataColumn 
                                                        MinWidth="50"
                                                        DataMemberBinding="{Binding Path=Name}"
                                                        Header="Name"
                                                         />
<tlr:GridViewDataColumn 
                                                        MinWidth="50"
                                                        DataMemberBinding="{Binding Path=City}"
                                                        Header="City"
                                                         />
<tlr:GridViewDataColumn 
                                                        MinWidth="50"
                                                        DataMemberBinding="{Binding Path=State}"
                                                        Header="State"
                                                         />
<tlr:GridViewDataColumn 
                                                        MinWidth="50"
                                                        DataMemberBinding="{Binding Path=Country}"
                                                        Header="Country"
                                                        />
</tlr:RadGridView.Columns>
</tlr:RadGridView>

Thanks

 

 

 

Tags
GridView
Asked by
Thomas
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Thomas
Top achievements
Rank 1
Vlad
Telerik team
Ajay
Top achievements
Rank 1
Share this question
or