Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
Add new row on empty grid
posted

Hi,

This is propably something small, but I can't add a new row to an empty grid..

If there is already one row in the grid, adding a new row works fine...

Thanks,
Bart 

 

This is my grid:
<igGrid:XamWebGrid Name="grdEmail" ItemsSource="{Binding CurrentCompany.Email}" 

                                       IsEnabled="{Binding IsControlEnabled}"

                                       Height="180">

                        <igGrid:XamWebGrid.EditingSettings>

                            <igGrid:EditingSettings AllowEditing="Row" IsMouseActionEditingEnabled="SingleClick" />

                        </igGrid:XamWebGrid.EditingSettings>

                        <igGrid:XamWebGrid.AddNewRowSettings>

                            <igGrid:AddNewRowSettings AllowAddNewRow="Top" IsMouseActionEditingEnabled="SingleClick"

                                                      IsF2EditingEnabled="True"

                                                      IsEnterKeyEditingEnabled="True" IsOnCellActiveEditingEnabled="True"/>

                        </igGrid:XamWebGrid.AddNewRowSettings>

 

                        <igGrid:XamWebGrid.Columns>

                            <igGrid:TextColumn Key="Email"/>

                            <igGrid:CheckBoxColumn Key="BetalingsAdvies" />                                

                        </igGrid:XamWebGrid.Columns>

                    </igGrid:XamWebGrid>