Numeric cell editor loses precision

1 Answer 182 Views
General Discussions Grid
John
Top achievements
Rank 1
Veteran
John asked on 28 Oct 2021, 08:49 PM

How can we stop losing precision on the grid's numeric cell editor?

https://stackblitz.com/edit/react-wwbyfu?file=app/main.jsx

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantin Dikov
Telerik team
answered on 29 Oct 2021, 12:54 PM

Hi John,

By default, the NumericTextBox used as an editor uses "n2" as default format. For changing the behavior of the edit you need to define custom editor with custom settings for the column through the "cell" property:

Once you have a custom NumericTextBox editor for the column you can set the "format" property to allow more decimal numbers to be displayed (for example "n10"):

 

Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions Grid
Asked by
John
Top achievements
Rank 1
Veteran
Answers by
Konstantin Dikov
Telerik team
Share this question
or