Numeric filter limited to 3 decimal places

1 Answer 17 Views
Filter  General Discussions Grid
Hu
Top achievements
Rank 1
Iron
Iron
Iron
Hu asked on 27 Mar 2024, 07:03 AM

Hi All,

I used a Numeric filter and found that I can only input up to three decimal places. If I want to enter four decimal places, need to use Custom Filter Cells.

However, I found that when using it, if the user is allowed to input to four decimal places, format="n4" must be set.
After setting, the input integer digits will be automatically filled with 0, and even if I clear the NumericTextBox, 0.0000 will still be displayed.

There is no good implementation of data filtering, do you have any suggestions?

 

Nkpwnb (forked) - StackBlitz

 

Regards,
Sunny

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 28 Mar 2024, 07:35 PM

Hi Hu,

The NumericTextBox format can be an object with more specific configuration:

Here is an example with the NumericTextBox demonstrating how to allow a maximum 4 decimal places:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Filter  General Discussions Grid
Asked by
Hu
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or