New to Kendo UI for jQuery? Start a free 30-day trial
Removing Default Comma in Grid Filter Cells with NumericTextBox
Updated on Jun 29, 2026
Environment
| Product | UI for ASP.NET Core |
| Version | 2026.2.520 |
Description
I need to remove the default comma separator for numbers in the filter cells of a Kendo UI Grid when using a NumericTextBox. The requirement is to display numbers as integers without any commas globally for all NumericTextBox instances in Grid filters.
This knowledge base article also answers the following questions:
- How to format NumericTextBox in filter cells to remove commas?
- How to set a global configuration for NumericTextBox formatting in Kendo UI Grid?
- How to modify NumericTextBox filter cell behavior in ASP.NET Core Grid?
Solution
To achieve the desired behavior, configure the global NumericTextBox options to enforce integer formatting without commas. Use the following JavaScript code to set the decimals to 0 and the format to "n0" globally.
Steps
- Add the following script in your HTML file or layout file:
javascript
<script>
kendo.ui.NumericTextBox.fn.options.decimals = 0;
kendo.ui.NumericTextBox.fn.options.format = "n0";
</script>
- Ensure this script runs before initializing the Grid. This ensures that all NumericTextBox instances in filter cells follow the specified configuration.
Example
Here is an example of applying this solution: Repl
This ensures no commas appear in the NumericTextBox for filter cells, and numbers are displayed as integers.