We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

inline edit add new row ObservableCollection

Thread ID:





106959 Feb 4,2013 11:12 PM UTC May 14,2013 06:41 AM UTC WPF 3
Tags: GridControl
steve mangelschots
Asked On February 4, 2013 11:12 PM UTC


I want to use a grid like in your demo Observable Collection databinding Demo but instead of using buttons to add new items I want to use inline editing do I need to do something to get this working.

My problem now is I get 1 empty row but wen I edit it no empty row gets added is this normal behaviour?

Is there a ObservableCollection demo with inline Crud behaviour so without the add, edit and delete button?

Thangapriya V [Syncfusion]
Replied On February 7, 2013 12:20 PM UTC

Hi Steve,


We have analyzed your query. We have achieved your requirement at sample level. And we have attached the sample below.


Please refer the following link for further details.



Please let us know if you have any concerns.




Observable collection Add Edit Delete_b2e70aae.zip

Paul McCranie
Replied On March 21, 2013 07:37 PM UTC

In your example, yes, you can Add a new row, but that record isn't being stored. It's lost whenever you close the grid.

Which is the same behavior I'm getting. It adds it to the grid temporarily, but it doesn't actually persist back to the data store.

How do you get it to persist?


Divya A [Syncfusion]
Replied On May 14, 2013 06:41 AM UTC


Hi Paul,


Sorry for the delay caused.


Whenever you edit, add or delete a record in the GridDataControl, the values will be changed only in ItemsSource of the Grid. It will  not reflect the changes to DataBase. You can use any of your approach to Commit the changes back to the DataBase or using update() method of DataAdapter. So that the changes would persist permanently.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon