I have a client-side bound grid with filtering. I also have a GridNumericColumn set to type Int32. When I type in the grid filter box, the value displayed automatically includes a comma group separator, like "96,546". How do I get rid of the comma separator so it only displays "96546"?
1 Answer, 1 is accepted
answered on 09 Jan 2017, 12:40 PM
By default the GridNumericColumn is using a NumericTextBox for a filter input. It formats the numeric value that is entered based on the Culture applied on the page. This is why you are seeing a separator for the entered number.
If you would like to change the behavior you can handle the ItemCreated event for the RadGrid and set the GroupSeparator for the numeric input manually. The code snippet below outlines the approach: