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.
Unfortunately, activation email could not send to your email. Please try again.

sfDataGrid addNewRow Dynamic ItemsSource

Thread ID:

Created:

Updated:

Platform:

Replies:

115897 Feb 20,2014 06:20 PM Feb 25,2014 04:27 AM WinRT 3
loading
Tags: SfDataGrid
Jeremy Shore NO LONGER WITH COMPANY
Asked On February 20, 2014 06:20 PM

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 05:58 AM

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


Jeremy Shore NO LONGER WITH COMPANY
Replied On February 24, 2014 11:08 AM

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 04:27 AM

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

CONFIRMATION

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.

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.

;