I am trying to achieve as the question suggests, set one column to the new row in the XamDataGrid as non editable,
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout>
<igDP:Field Name="LOAD_ID" Visibility="Visible">
<igDP:Field.Settings>
<igDP:FieldSettings AllowGroupBy="True"
AllowEdit="False"
AllowRecordFiltering="True"
FilterOperatorDefaultValue="Contains" />
</igDP:Field.Settings>
</igDP:Field>
<igDP:Field Name="DESCRIPTION" Visibility="Visible">
<igDP:Field.Settings>
<igDP:FieldSettings AllowGroupBy="True"
AllowEdit="True"
AllowRecordFiltering="True"
FilterOperatorDefaultValue="Contains" />
</igDP:Field.Settings>
</igDP:Field>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>
I have already set the allow edit to false in case of Load_id but somehow this effects only the already loaded records in the grid, not so much the record to be added.
<igDP:FieldLayoutSettings
AllowAddNew="True"
AddNewRecordLocation="OnBottomFixed"
AutoFitMode="Always"
AutoGenerateFields="False" HighlightAlternateRecords="True" HeaderPrefixAreaDisplayMode="FieldChooserButton"
/>
It may be a simple property in XamDataGrid controls, but somehow missed by me. Any help would be appreciated.
This worked for me