Currently, I am utilizing AngularJS UI-Grid for filtering pricing data. The issue I am facing is that the filtering works perfectly fine for numbers with a non-zero digit after the decimal point.
$scope.GridOptions = {
enableFiltering: true,
rowEditWaitInterval: -1,
multiSelect: true,
enableColumnMenus: false,
columnDefs: [
{ name: 'Name', field: 'Item', width: '15%' },
{ name: 'Price', field: 'Price', type: 'number', cellFilter: 'currency', width: '6%' },
{ name: 'Current Price', field: 'CurrentPrice', type: 'number', cellFilter: 'number: 2', width: '12%' }
]
View example with 2 digits after the decimal, View example with 0 digits after the decimal