Given,
<igDP:XamDataGrid Name="dataGrid"
DataSource="{Binding RecordList}">
<igDP:XamDataGrid.FieldLayoutSettings >
<igDP:FieldLayoutSettings AllowAddNew="true" AddNewRecordLocation="OnTopFixed"/>
</igDP:XamDataGrid.FieldLayoutSettings>
On running, I can see a empty new row on top of the grid. But none of the columns in the new row are editable !!! The columns are editable when I mark each of the Fields as editable.
Is it possible to have the add record functionality work while "without" explicitly marking each of the fields as editable ?
Thanks for your interest.
You best bet would be asking this on the infragistics netadvantage forum, but having said that...
As I understand what you want is a readonly datagrid (non-editable on its cells) to have a editable row to add new item...
CellValuePresenter
targettedStyle
underXamDatagrid.Resources
.If so it will make the parent field editable via some attached behavior.
And the attached behavior is as below...
Hope this helps.