Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2350
igNumericEditor - Fixed number of decimals does not work in 16.2
posted

Hello,

We are currently updating from Infragistics 15.1 to 16.2. One issue that we found is that the igNumericEditor in a grid row edit dialog cannot be setup with a fixed number of decimals like in 15.1.

Here is a 15.1 example: http://jsfiddle.net/k3Lx2v73/1/ Double click the first row in the grid to bring up the edit dialog. Click on the "Units In Stock" field, and 39.0000000000 shows up. This is expected because i have the minDecimals and maxDecimals values set to 10. Likewise, a user cannot add places.

Here is a 16.2 example: http://jsfiddle.net/uofcft8z/1/  Double click the first row in the grid to bring up the edit dialog. Click on the "Units In Stock" field, and 39 shows in the edit dialog. This is an issue because the user could enter in additional decimal places that might not be saved to the server (e.g. they could enter in 39.000000000000001 which would not save correctly because it goes beyond 10 decimals.

Is there a way to duplicate the 15.1 functionality in 16.2?

Thanks,

Paul