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

InsertRow at the end

1 Answer 120 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Francois asked on 08 Dec 2010, 08:29 PM

Is there an easy way (without making a full template) to customise the insert row ?

I've set CanInsertRows and ShowInsertRow to true and ive got a row with the text  "Click here to add a new item" as the first row. I would prefer toe have an empty row at the end representing the new row...

  <trk:RadGridView x:Name="tblSanctDecisMed" Height="130"
             ItemsSource ="{Binding Path=MembresEquipe}"
              <trk:GridViewDataColumn Header="Matricule"
                          DataMemberBinding="{Binding Path=NoMatricule}"
                          IsGroupable="False" />
              <trk:GridViewDataColumn Header="Nom/PrĂ©nom"
                          DataMemberBinding="{Binding Path=NomEmploye}"
                          IsReadOnly="True" />

1 Answer, 1 is accepted

Sort by
Vanya Pavlova
Telerik team
answered on 09 Dec 2010, 09:45 AM
Hi Francois,

Unfortunately there is no easy way to change the position of the NewRow in a RadGridView. You need to edit its template in order to achieve the desired result. You can get some more detailed information about this topic in the following forum thread.

Alternatively, you can do is to scroll into the newly added item as shown in this how-to article.

Kind regards,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Asked by
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question