CanUserAddRows doesn't work

May 25, 2009 at 10:39 AM

Months ago, I'm beginning with DataGrid, and it always show one more Row at the end of the items. It take me some time to know if I set CanUserAddRows to false, it will not show the additional Row.

But now the requirement is to show the additonal row, but when I set CanUserAddRows it doesn't work.

I know from some sample code if the items in ObservableCollection implement the IEditableObject, it may be work, but I really don't want to change too much with my code and the most of all I remember months ago I didn't use the IEditableObject but it can show one more row in fact.

So anyone could tell me the reason and solution?

Thanks very much

May 26, 2009 at 9:39 PM

See thread,