Skip to content

SyncfusionExamples/How-to-allow-user-to-add-a-new-row-in-WPF-datagrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

How to allow user to add a new row in WPF DataGrid (SfDataGrid)?

About the sample

This example illustrates how to add a new row in WPF DataGrid (SfDataGrid) using buid in AddNewRow.

WPF DataGrid (SfDataGrid) provides built-in row called AddNewRow. It allows user to add a new row to underlying collection. You can enable or disable by setting SfDataGrid.AddNewRowPosition property. You can also set the position of built-in AddNewRow through AddNewRowPosition property.

 <syncfusion:SfDataGrid  x:Name="dataGrid" 
                         ItemsSource="{Binding Orders}" 
                         AddNewRowPosition="Top"/>

KB article - How to allow user to add a new row in WPF DataGrid (SfDataGrid)?

Requirements to run the demo

Visual Studio 2015 and above versions

About

This example illustrates how to add a new row in WPF DataGrid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages