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

SfNumericTextBox column inside SFDataGrid doesnt persists value to source

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

1 Reply

SC Saranya CJ Syncfusion Team April 9, 2015 06:24 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon