Hi,
I have a DataGrid (called dgSample), where I set IsReadOnly="True".
User can add a new Row, this row must be editable.
So in my model I set a property:
[DefaultValue(false)]
public virtual bool IsNewItem { get; set; }
where user add new row I set this property to true
So in my DataGrid I have:
but the last Row is not editable, why?
Thanks.

Akhil GargPosted Apr 20, 2015, 4:46 AM
Roberto SalemiPosted Apr 20, 2015, 3:38 AM
I resolved with this way:
- I my model i added:
- In my DataGrid I added this event:
- In the event there is this control:
It works!
Akhil GargPosted Apr 17, 2015, 12:11 PM
Instead of making datagrid readonly you can try it row wise that will work.
Or just remove readonly property i think this will also work.