<igDP:XamDataGrid> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AllowAddNew="True" AddNewRecordLocation="OnTopFixed"/> </igDP:XamDataGrid.FieldLayoutSettings> </igDP:XamDataGrid>
By default, the DataPresenter does not provide a UI for adding records. To turn on the UI for adding records set the FieldLayoutSettings' AllowAddNew property to True. You can also specify the location of the new record by using the AddNewRecordLocation property, as shown in the example code below:
<igDP:XamDataGrid> <igDP:XamDataGrid.FieldLayoutSettings> <igDP:FieldLayoutSettings AllowAddNew="True" AddNewRecordLocation="OnTopFixed"/> </igDP:XamDataGrid.FieldLayoutSettings> </igDP:XamDataGrid>