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

Not able to Expand the row by default while adding a new row

1 Answer 125 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Pavan asked on 15 Nov 2016, 10:35 PM

The Grid is having two columns which are using two cell templates and not using any RowDetails template. 

While adding a new row, i need to click on "+" button and need to click again on the left end of the row to see the expanded row with loaded cell templates.

But i want to achieve with only single click "+" to add a expanded row. 

Below is the code snippet used for the grid:

 <views:RadGridView x:Name="datasource" Grid.Row="1" ItemsSource="{Binding Path=DataSource.StructuredParties}" 
                                        Margin="5" AutoGenerateColumns="False" ShowGroupPanel="False" IsFilteringAllowed="False" 
                                        CanUserSortColumns="False" VerticalAlignment="Top" ShowInsertRow="True" 
                                        SelectedItem="{Binding SelectedPartyModel}" KeyboardNavigation.TabNavigation="Continue" 
                                        CellEditEnded="FwAbstractEntityGridView_CellEditEnded" Deleting="FwAbstractEntityGridView_Deleting">
                    Header="{x:Static Resources:OcrMessages.PartyTypeColumnHeader}" 
                    DataMemberBinding="{Binding Converter={StaticResource partyNameConverter}}" 
                    CellTemplate="{StaticResource DataEditTemplate}" Width="*" />
                <views:RadGridViewDataColumn Header="{x:Static Resources:OcrMessages.PartySharePortionColumnHeader}" 
                    DataMemberBinding="{Binding GroupShare, Converter={StaticResource zeroNumberConverter}}" 
                    CellTemplate="{StaticResource SharePortionEditTemplate}" Width="Auto" />

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 18 Nov 2016, 01:45 PM
Hello Pavan,

In case I am not missing anything, the possible approaches for satisfying this requirement is discussed in the Expanding Row Details on New Row forum thread. Can you please check it out?

Hopefully, it helps.

Stefan X1
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question