Grid OnServerEditRow event e.Arguments["data"] lost initial zeros

Hi all,

I'm using a Syncfusion Grid with the OnServerEditRow event.

In that event, in the server side, I receive two arguments: object sender, GridEventArgs e.

I have problems with the e.Arguments["data"]; if I get the value from an element that is a string that have only numbers but it starts by zeros, the e.Arguments["data"] gets me the string without zeros. However, the e.Arguments["previousData"] has the correct value (with zeros). How can I solve the problem?

Thank's a lot.



1 Reply

KM Kuralarasan Muthusamy Syncfusion Team June 22, 2018 02:25 AM UTC

Hi Marc, 

We have analyzed your query and we are not able to reproduce the reported issue at our end. We got correct value while using number as string and starts with zero. So we have shared our sample with you. Please refer the following link to sample, 


Still if you face the same issue, Please share the following details for further assistance, 

  1. If possible, try to reproduce the issue in this sample and send back to us.
  2. Share the Grid code and controller side code.
  3. Replication procedure of this issue.

Regards, 
Kuralarasan M. 


Loader.
Up arrow icon