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. Image for the cookie policy date

sfDataGrid addNewRow Dynamic ItemsSource

Right now I have an ObservableCollection<ExpandoObject> bound to my grid to populate it. However, when I click to add a new row and edit it, it doesn't save the information and it just adds a standard object to my list when it is done. How do I handle when the user edits a column in the new row (before validation) and add the properties so it can save the edit and add the the ItemsSource correctly?

3 Replies

JG Jai Ganesh S Syncfusion Team February 24, 2014 10:58 AM UTC

Hi Jeremy,


Thank you for using Syncfusion products.


We have analyzed your query. You can initialize the property by using the “AddNewRowInitiating” event. This event will be triggered, when the user start editing in the AddNewRow. We have prepared the sample based on this and please find the sample under the following location,


Sample: WinrtGridSample.zip


Please let us know if you need further assistance.


Thank you,

Jai Ganesh S

JS Jeremy Shore NO LONGER WITH COMPANY February 24, 2014 04:08 PM UTC

That download link doesn't work since it is for a file on your E drive.

JG Jai Ganesh S Syncfusion Team February 25, 2014 09:27 AM UTC

Hi Jeremy,


Sorry for the inconvenience caused.


You can download the sample for the last update from the below attachment.


Please let us know if you have any queries.


Thank you,

Jai Ganesh S

Attachment: WinrtGridSample_fdb9202e.zip

Live Chat Icon For mobile
Up arrow icon