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

sfDataGrid addNewRow Dynamic ItemsSource

Thread ID:





115897 Feb 20,2014 11:20 PM UTC Feb 25,2014 09:27 AM UTC WinRT 3
Tags: SfDataGrid
Asked On February 20, 2014 11:20 PM UTC

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?

Jai Ganesh S [Syncfusion]
Replied On 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

Replied On February 24, 2014 04:08 PM UTC

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

Jai Ganesh S [Syncfusion]
Replied On 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


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

or the page will be automatically redirected to 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