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.

SfNumericTextBox column inside SFDataGrid doesnt persists value to source

Thread ID:

Created:

Updated:

Platform:

Replies:

118776 Apr 8,2015 08:12 PM Apr 9,2015 02:24 AM WinRT 1
loading
Tags: SfDataGrid
Vasanth
Asked On April 8, 2015 08:12 PM

Hi,
I have a SFDataGrid  with two SfNumericTextBox columns, first one is directly bound to a nullable int property of a main object and the second one is bound to nullable int property inside its child collection property. 

Here is an example of the data structure:
Worker(string Name, int? Wage)
Organization(string Name, int? Revenue, List<Worker> WorkerList)

SFDataGrid  is bound to collection of Organization, first SfNumericTextBox  column is bound to Organization.Revenue and the second SfNumericTextBox  is bound to Organization.WorkerList[x].Wage where x is the rowIndex. Data update to Revenue column is working correctly. But the second SfNumericTextBox  column doesnt update the "Wage" source. I am using same NullableValueConverter for both columns.

Please let me know how this can be fixed.

Also a second issue, everytime when SfNumericTextBox cell is focused it defaults to 0 instead of empty string when source is null. By default it shows empty string but on focus changes to 0.

Thanks,
Vasanth

Saranya CJ [Syncfusion]
Replied On April 9, 2015 02:24 AM

Hi Vasanth,

We would like to inform you that we could find that you have created an incident with the same query. So, we request you to follow up with the incident. Please log on to our support website to check for further updates:
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Saranya

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.

;