Hi,
I have a wpf datagrid which is bound to an observable collection.
Currently I don't have the NewItemPlaceHolder.
How can I enable NewItemPlaceholder (an empty row in the bottom to add new rows)?
Here is how I declared my datagrid:
<WpfToolkit:DataGrid x:Name="grid"
ItemsSource="{Binding Path=SampleObservableCollection}"
HorizontalScrollBarVisibility="Hidden" SelectionMode="Single"
CanUserAddRows="True" CanUserDeleteRows="True"
CanUserResizeRows="False" CanUserSortColumns="False"
CellEditEnding="grid_CellEditEnding"
CurrentCellChanged="grid_CurrentCellChanged"
AutoGenerateColumns="False"
RowHeaderWidth="17" RowHeight="25">
<WpfToolkit:DataGrid.Columns> ...
Thanks